Compartir a través de


RelationalDatabaseCreatorDependencies.Model Propiedad

Definición

Precaución

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

Obtiene el modelo para el contexto con el que se usa este creador.

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 de propiedad

Atributos

Se aplica a