Open VPoonguzhali opened 6 years ago
I have the similar question. How can I send Batch update request from javascript?
Hi sk29110,
I am not sure about the javascript. Please find the below i have done for update batch request,
Uri oDataUri = new Uri(ODataEntityPath, UriKind.Absolute);
var context = new Resources(oDataUri);
foreach(DataRow dataRow in dt.AsEnumerable().ToList())
{
var filterquery= ""+ CustomerAccount +" eq '" + dataRow[CustomerAccount]+"'&DataAreaId eq '"+ dataRow["dat"] + "'";
var dataquery = d365.Customers.AddQueryOption("$filter", filterquery);
DataServiceCollection
Hi, The below code does the batch insert in D365O context.SaveChanges(SaveChangesOptions.PostOnlySetProperties|SaveChangesOptions.BatchWithIndependentOperations);
Is there any option for Batch Update using the OData service??