SaveFlags 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.
Flags used to control the behavior of a SaveChanges operation.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[System.Flags]
public enum SaveFlags
[<System.Flags>]
type SaveFlags =
Public Enum SaveFlags
- Inheritance
-
SaveFlags
- Attributes
Fields
| Default | 0 | All pending model changes are packed in a batch containing Create/Alter/Delete/Rename/Process commands together with a SequencePoint command (to trigger immediate validation on Server if used inside transaction) and sent to the Server. If there are no pending changes, these flags are ignored. |
| DelayValidation | 1 | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only. |
| ForceValidation | 2 | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only. |