Condividi tramite


DbContextConfiguration.ValidateOnSaveEnabled Proprietà

Definizione

Ottiene o imposta un valore che indica se le entità rilevate devono essere convalidate automaticamente quando SaveChanges() viene richiamato. Il valore predefinito è true.

public bool ValidateOnSaveEnabled { get; set; }
member this.ValidateOnSaveEnabled : bool with get, set
Public Property ValidateOnSaveEnabled As Boolean

Valore della proprietà

Si applica a