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


OrganizationServiceContext.SaveChangesDefaultOptions Property

 

Applies To: Dynamics CRM 2015

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 SaveChangesOptions SaveChangesDefaultOptions {
    SaveChangesOptions get();
    void set(SaveChangesOptions value);
}
member SaveChangesDefaultOptions : SaveChangesOptions with 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

© 2016 Microsoft. All rights reserved. Copyright