DataServiceContext.SaveChangesDefaultOptions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the SaveChangesOptions values that are used by the SaveChanges() method.
public:
property System::Data::Services::Client::SaveChangesOptions SaveChangesDefaultOptions { System::Data::Services::Client::SaveChangesOptions get(); void set(System::Data::Services::Client::SaveChangesOptions value); };
public System.Data.Services.Client.SaveChangesOptions SaveChangesDefaultOptions { get; set; }
member this.SaveChangesDefaultOptions : System.Data.Services.Client.SaveChangesOptions with get, set
Public Property SaveChangesDefaultOptions As SaveChangesOptions
Property Value
The current options for the save changes operation.
Remarks
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.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.