OrganizationServiceContext.SaveChanges Method
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.
Overloads
SaveChanges() |
Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics 365. |
SaveChanges(SaveChangesOptions) |
Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics 365. |
SaveChanges()
Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics 365.
public:
Microsoft::Xrm::Sdk::SaveChangesResultCollection ^ SaveChanges();
public Microsoft.Xrm.Sdk.SaveChangesResultCollection SaveChanges ();
member this.SaveChanges : unit -> Microsoft.Xrm.Sdk.SaveChangesResultCollection
Public Function SaveChanges () As SaveChangesResultCollection
Returns
Contains status, headers, and errors that result from the call to SaveChanges().
Applies to
SaveChanges(SaveChangesOptions)
Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics 365.
public:
Microsoft::Xrm::Sdk::SaveChangesResultCollection ^ SaveChanges(Microsoft::Xrm::Sdk::Client::SaveChangesOptions options);
public Microsoft.Xrm.Sdk.SaveChangesResultCollection SaveChanges (Microsoft.Xrm.Sdk.Client.SaveChangesOptions options);
member this.SaveChanges : Microsoft.Xrm.Sdk.Client.SaveChangesOptions -> Microsoft.Xrm.Sdk.SaveChangesResultCollection
Public Function SaveChanges (options As SaveChangesOptions) As SaveChangesResultCollection
Parameters
- options
- SaveChangesOptions
Indicates how changes are saved.
Returns
Contains status, headers, and errors that result from the call to SaveChanges().