Jaa


OrganizationServiceContext.SaveChangesDefaultOptions Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

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

Property Value

Type: Microsoft.Xrm.Sdk.Client.SaveChangesOptions

Type: SaveChangesOptions
The SaveChangesOptions values that are used by the SaveChanges method.

Remarks

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

See Also

OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright