DbMigrationsConfiguration.ContextKey Property


Gets or sets the string used to distinguish migrations belonging to this configuration from migrations belonging to other configurations using the same database. This property enables migrations from multiple different models to be applied to a single database.

public string ContextKey { get; set; }
member this.ContextKey : string with get, set
Public Property ContextKey As String

Property Value

Applies to