Udostępnij za pośrednictwem


DbContextConfiguration.ValidateOnSaveEnabled Właściwość

Definicja

Pobiera lub ustawia wartość wskazującą, czy śledzone jednostki powinny być weryfikowane automatycznie po SaveChanges() wywołaniu. Wartością domyślną jest true.

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

Wartość właściwości

Dotyczy