Setting up an application

Your application setup includes referencing any required libraries, including the 1010data .NET SDK, and creating a class that contains all of the functions that interact with the 1010data Insights Platform, the Main method, and any additional functions contained within.

In this example, the DocumentationExample class contains the PrintTable function and the Main method. In more complex applications, you are likely to have more functions with greater complexity.

using System;
using TenTenSDK;

public class DocumentationExample {
    public static void PrintTable(Session testSession, String path) {
    }
  
    public static void Main() {
    }
}

The function PrintTable takes the Session object (testSession) and the path of a table on the 1010data Insights Platform (path). These parameters are common for functions written to interact with the Insights Platform because every interaction requires a session and interacts with a table.