CosmosEntityTypeExtensions.GetPartitionKeyPropertyName メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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
パーティション キーのプロパティ名を取得するエンティティ型。
戻り値
パーティション キー プロパティの名前。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework