Summary
Determines whether to allow data loss on the migration
- Namespace
- Cake
.EntityFramework .Migrator - Containing Type
- EfMigratorBackend
Syntax
public void SetAllowDataLossOnMigrations(bool allowDataLossOnMigrations)
Parameters
Name | Type | Description |
---|---|---|
allowDataLossOnMigrations | bool | tru to allow data loss |
Return Value
Type | Description |
---|---|
void |