SaveChangesOptions Enum
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.
options when saving changes
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum SaveChangesOptions
[<System.Flags>]
type SaveChangesOptions =
Public Enum SaveChangesOptions
- Inheritance
-
SaveChangesOptions
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | default option, using multiple requests to the server stopping on the first failure |
BatchWithSingleChangeset | 1 | save the changes in a single changeset in a batch request. |
ContinueOnError | 2 | save all the changes using multiple requests |
ReplaceOnUpdate | 4 | Use replace semantics when doing update. |
PostOnlySetProperties | 8 | Use partial payload when doing post. Note it can only be used when using DataServiceCollection<T> |
BatchWithIndependentOperations | 16 | save each change independently in a batch request. |
UseRelativeUri | 32 | Allow usage of Relative Uri. Note it can only be used in a batch request. |
UseJsonBatch | 64 | Allow usage of Json in batch requests. Note it can only be used in a batch request. |