public static void Start() { // Location of your APEX and C# Files that we will be converting DirectoryInfo apexLocation = new DirectoryInfo(@"/ApexSharp/SalesForce/src/classes/"); DirectoryInfo cSharpLocation = new DirectoryInfo(@"/ApexSharp/Demo/CSharpClasses/"); // Start Logging Setup.StartLogging(); // Always Initialize your settings when ever you are connecting to SF Setup.Init(); // Keep Track of the API Limits Console.WriteLine($"Api Request Remaining {Limits.GetApiLimits().DailyApiRequests.Remaining}"); // Create Offline classes for SObjects CreateOffLineClasses(); CodeConverter.ConvertToCSharp(apexLocation, cSharpLocation, "Demo.CSharpClasses"); //DmlTest.UpsertTest(); CodeConverter.ConvertToApex(cSharpLocation, apexLocation, 40); // Keep Track of the API Limits Console.WriteLine($"Api Request Remaining {Limits.GetApiLimits().DailyApiRequests.Remaining}"); // Flush and Close Setup.StopLogging(); Console.WriteLine("Done, Press Any Key To Exit"); Console.ReadKey(); }