Sprache

DbMigrationsConfiguration.AutomaticMigrationDataLossAllowed Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob Datenverlust während der automatischen Migration akzeptabel ist. Bei Festlegung auf "false" wird eine Ausnahme ausgelöst, wenn Datenverlust im Rahmen einer automatischen Migration auftreten kann.

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

Eigenschaftswert

Gilt für: