Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceContext.SaveChangesDefaultOptions Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the SaveChangesOptions values that are used by the SaveChanges method.

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

public SaveChangesOptions SaveChangesDefaultOptions { get; set; }

Property Value

Type: System.Data.Services.Client.SaveChangesOptions

The current options for the save changes operation.

This property is provided so that options such as merge and replace semantics can be set one time for the DataServiceContext and then overridden as needed by calling one of the SaveChanges overloads.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: