Share via


ScaffoldingModelExtensions.GetDbSetName(IReadOnlyEntityType) メソッド

定義

このエンティティ型の クラスの プロパティに DbSet<TEntity> 使用する名前を DbContext 取得します。

public static string GetDbSetName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetDbSetName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetDbSetName (entityType As IReadOnlyEntityType) As String

パラメーター

entityType
IReadOnlyEntityType

エンティティの型。

戻り値

プロパティ名。

適用対象