RelationalEntityTypeExtensions.GetTableName メソッド

定義

オーバーロード

GetTableName(IEntityType)

エンティティ型がマップされている null テーブルの名前を返します。または、テーブルにマップされていない場合は返します。

GetTableName(IReadOnlyEntityType)

エンティティ型がマップされている null テーブルの名前を返します。または、テーブルにマップされていない場合は返します。

GetTableName(IEntityType)

エンティティ型がマップされている null テーブルの名前を返します。または、テーブルにマップされていない場合は返します。

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

パラメーター

entityType
IEntityType

テーブル名を取得するエンティティ型。

戻り値

エンティティ型がマップされるテーブルの名前。

適用対象

GetTableName(IReadOnlyEntityType)

エンティティ型がマップされている null テーブルの名前を返します。または、テーブルにマップされていない場合は返します。

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

パラメーター

entityType
IReadOnlyEntityType

テーブル名を取得するエンティティ型。

戻り値

エンティティ型がマップされるテーブルの名前。

適用対象