Export (0) Print
Expand All

DataServiceContext.SaveChanges Method (SaveChangesOptions)

Saves the changes that the DataServiceContext is tracking to storage.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

public DataServiceResponse SaveChanges(
	SaveChangesOptions options


Type: System.Data.Services.Client.SaveChangesOptions
A member of the MergeOption enumeration that specifies the materialization option.

Return Value

Type: System.Data.Services.Client.DataServiceResponse
A DataServiceResponse that contains status, headers, and errors that result from the call to SaveChanges.

Operations are sent to the data service in the order in which they are reported to the DataServiceContext.

© 2014 Microsoft