Sdílet prostřednictvím


SaveFlags Enum

Definition

Advanced options that can be used to control the behavior of a SaveChanges operation.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum SaveFlags
[<System.Flags>]
type SaveFlags = 
Public Enum SaveFlags
Inheritance
SaveFlags
Attributes

Fields

Name Value Description
Default 0

Default SaveChanges behavior.

DelayValidation 1

Delay the validation in the SaveChanges.

ForceValidation 2

Force the validation in the SaveChanges.

Applies to