Condividi tramite


RelationalDatabaseCreatorDependencies.Model Proprietà

Definizione

Attenzione

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

Ottiene il modello per il contesto in cui viene utilizzato l'autore.

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

Valore della proprietà

Attributi

Si applica a