다음을 통해 공유


DbContextConfiguration.ValidateOnSaveEnabled 속성

정의

가 호출될 때 SaveChanges() 추적된 엔터티의 유효성을 자동으로 검사해야 하는지 여부를 나타내는 값을 가져오거나 설정합니다. 기본값은 true입니다.

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

속성 값

적용 대상