다음을 통해 공유


DbMigrationsConfiguration.AutomaticMigrationDataLossAllowed 속성

정의

자동 마이그레이션 중에 데이터 손실이 허용되는지 여부를 나타내는 값을 가져오거나 설정합니다. false로 설정하면 자동 마이그레이션의 일부로 데이터 손실이 발생할 수 있는 경우 예외가 throw됩니다.

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

속성 값

적용 대상