Share via


DbMigrationsConfiguration.AutomaticMigrationDataLossAllowed Property

Definition

Gets or sets a value indicating if data loss is acceptable during automatic migration. If set to false an exception will be thrown if data loss may occur as part of an automatic migration.

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

Property Value

Applies to