EfMigratorSettings.

AllowDataLossOnMigrations Property

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.

Syntax

public bool AllowDataLossOnMigrations { get; set; }

Value

Type Description
bool