Freigeben über


RelationalDatabaseCreatorDependencies.Model Eigenschaft

Definition

Achtung

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

Ruft das Modell für den Kontext ab, mit dem dieser Ersteller verwendet wird.

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

Eigenschaftswert

Attribute

Gilt für: