次の方法で共有


CosmosEntityTypeExtensions.GetPartitionKeyPropertyName メソッド

定義

オーバーロード

GetPartitionKeyPropertyName(IEntityType)

パーティション キーの格納に使用されるプロパティの名前を返します。

GetPartitionKeyPropertyName(IReadOnlyEntityType)

パーティション キーの格納に使用されるプロパティの名前を返します。

GetPartitionKeyPropertyName(IEntityType)

パーティション キーの格納に使用されるプロパティの名前を返します。

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

パラメーター

entityType
IEntityType

パーティション キーのプロパティ名を取得するエンティティ型。

戻り値

パーティション キー プロパティの名前。

適用対象

GetPartitionKeyPropertyName(IReadOnlyEntityType)

パーティション キーの格納に使用されるプロパティの名前を返します。

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

パラメーター

entityType
IReadOnlyEntityType

パーティション キーのプロパティ名を取得するエンティティ型。

戻り値

パーティション キー プロパティの名前。

適用対象