DataServiceContext.SaveChanges Method (SaveChangesOptions)

Saves the changes that the DataServiceContext is tracking to storage.

Not supported by the WCF Data Services 5.0 client for Silverlight.

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

public DataServiceResponse SaveChanges(
	SaveChangesOptions options
)

Parameters

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.

Show: