Install-Package DotNetForce -Version 6.0.2
dotnet add package DotNetForce --version 6.0.2
<PackageReference Include="DotNetForce" Version="6.0.2" />
paket add DotNetForce --version 6.0.2
#r "nuget: DotNetForce, 6.0.2"
// Install DotNetForce as a Cake Addin #addin nuget:?package=DotNetForce&version=6.0.2 // Install DotNetForce as a Cake Tool #tool nuget:?package=DotNetForce&version=6.0.2
Salesforce SDK to handle paging and return results as IAsyncEnumerable for the "slower Producer and faster Consumer" use case, you don't need all paging to be completed. https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-8.0/async-streams
Combine multiple queries/commands to be executed in one transaction https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_composite.htm
Can you also clone and run the Schema Generator to dynamic generate C# helper class for your Salesforce sandbox https://github.com/teamchong/DotNetForce/tree/master/DotNetForceSchemaGenerator
Please check the UnitTest for general usage https://github.com/teamchong/DotNetForce/tree/master/DotNetForceSchemaGenerator
Please notice when using the Composite.QueryByLocatorAsync functions or .Push() Extension function for IAsyncEnumerable<QueryResult> You may run into the "Invalid Query Locator" error, as there are limitation on number of query locator you can open at the same time (10)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
This library provides an easy way for .NET developers to interact with the Salesforce REST & Chatter APIs using native libraries.