DbMigrationsConfiguration.AutomaticMigrationDataLossAllowed Property

 

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.

Namespace:   System.Data.Entity.Migrations
Assembly:  EntityFramework (in EntityFramework.dll)

public bool AutomaticMigrationDataLossAllowed {
	[CompilerGeneratedAttribute]
	get;
	[CompilerGeneratedAttribute]
	set;
}

Property Value

Type: System.Boolean