Partilhar via


RelationalDatabaseCreatorDependencies.Model Propriedade

Definição

Cuidado

Use CurrentContext.Context.GetService<IDesignTimeModel>().Model instead

Obtém o modelo para o contexto com o qual este criador está sendo usado.

public Microsoft.EntityFrameworkCore.Metadata.IModel Model { get; }
[System.Obsolete("Use CurrentContext.Context.GetService<IDesignTimeModel>().Model instead")]
public Microsoft.EntityFrameworkCore.Metadata.IModel Model { get; init; }
member this.Model : Microsoft.EntityFrameworkCore.Metadata.IModel
[<System.Obsolete("Use CurrentContext.Context.GetService<IDesignTimeModel>().Model instead")>]
member this.Model : Microsoft.EntityFrameworkCore.Metadata.IModel with get, set
Public ReadOnly Property Model As IModel
Public Property Model As IModel

Valor da propriedade

Atributos

Aplica-se a