Bagikan melalui


RelationalDatabaseCreatorDependencies.Model Properti

Definisi

Perhatian

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

Mendapatkan model untuk konteks yang digunakan pembuat ini.

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

Nilai Properti

Atribut

Berlaku untuk