Поделиться через


DataServiceContext.SaveChangesDefaultOptions Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the SaveChangesOptions values used by the BeginSaveChanges method.

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

Syntax

'Declaration
Public Property SaveChangesDefaultOptions As SaveChangesOptions
public SaveChangesOptions SaveChangesDefaultOptions { get; set; }

Property Value

Type: System.Data.Services.Client.SaveChangesOptions
The options used when saving changes.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.