Bagikan melalui


CosmosEntityTypeExtensions.GetPartitionKeyPropertyName Metode

Definisi

Overload

GetPartitionKeyPropertyName(IEntityType)

Mengembalikan nama properti yang digunakan untuk menyimpan kunci partisi.

GetPartitionKeyPropertyName(IReadOnlyEntityType)

Mengembalikan nama properti yang digunakan untuk menyimpan kunci partisi.

GetPartitionKeyPropertyName(IEntityType)

Mengembalikan nama properti yang digunakan untuk menyimpan kunci partisi.

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

Parameter

entityType
IEntityType

Jenis entitas untuk mendapatkan nama properti kunci partisi.

Mengembalikan

Nama properti kunci partisi.

Berlaku untuk

GetPartitionKeyPropertyName(IReadOnlyEntityType)

Mengembalikan nama properti yang digunakan untuk menyimpan kunci partisi.

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

Parameter

entityType
IReadOnlyEntityType

Jenis entitas untuk mendapatkan nama properti kunci partisi.

Mengembalikan

Nama properti kunci partisi.

Berlaku untuk