Summary
Gets or sets a flag to allow data to be lost on a migration.
This is the same as the '-force' flag when running migrations through visual studio.
- Namespace
- Cake
.EntityFramework .CakeTranslation - Containing Type
- EfMigratorSettings
Syntax
public bool AllowDataLossOnMigrations { get; set; }
Value
Type | Description |
---|---|
bool |