function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
stepan tomystepan tomy 

C# Force.com-Toolkit-for-NET bulk operation

Hi everyone, sorry may be this questions already was asked before, but i dont found answer on my question.
on this page
https://developer.salesforce.com/docs/atlas.en-us.198.0.api_asynch.meta/api_asynch/asynch_api_using_bulk_query.htm
i see sample with bulk operation for java, but i dont found some  sample or docs for .NET  library,
please let me know  how it possible  to create jobs,batches  via Force.com-Toolkit-for-NET
thank you very much!!
Daniel BallingerDaniel Ballinger
The Force.com Toolkit for .NET (https://github.com/developerforce/Force.com-Toolkit-for-NET) doesn't have direct support for the Bulk API (https://developer.salesforce.com/docs/atlas.en-us.198.0.api_asynch.meta/api_asynch/asynch_api_using_bulk_query.htm).

If you look at the contents of the ForceClient class (https://github.com/developerforce/Force.com-Toolkit-for-NET/blob/master/src/ForceToolkitForNET/ForceClient.cs), which does most of the high level API integrations, you'll notice that it doesn't have API methods for dealing with jobs or the batch records that exist under the job.

So, you could fork the toolkit and add the required functionality, implement it your self from strach, or look elsewhere. Personally, I made my own implementation from .NET. It wasn't particularly difficult to make the required REST calls. Alternatively, I found the Salesforce-Bulk-API-Starter project (https://github.com/lfreeland/Salesforce-Bulk-API-Starter) with a quick search. I haven't tried it yet, but seems like it would do what you want.