Migration.TargetModel Property

Definition

The IModel that the database will map to after the migration has been applied.

public virtual Microsoft.EntityFrameworkCore.Metadata.IModel TargetModel { get; }
member this.TargetModel : Microsoft.EntityFrameworkCore.Metadata.IModel
Public Overridable ReadOnly Property TargetModel As IModel

Property Value

Remarks

See Database migrations for more information and examples.

Applies to