Share via


OrganizationServiceContext.SaveChangesDefaultOptions Property

Definition

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

public:
 property Microsoft::Xrm::Sdk::Client::SaveChangesOptions SaveChangesDefaultOptions { Microsoft::Xrm::Sdk::Client::SaveChangesOptions get(); void set(Microsoft::Xrm::Sdk::Client::SaveChangesOptions value); };
public Microsoft.Xrm.Sdk.Client.SaveChangesOptions SaveChangesDefaultOptions { get; set; }
member this.SaveChangesDefaultOptions : Microsoft.Xrm.Sdk.Client.SaveChangesOptions with get, set
Public Property SaveChangesDefaultOptions As SaveChangesOptions

Property Value

Values that are used by the SaveChanges(SaveChangesOptions) 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(SaveChangesOptions).

Applies to