Bagikan melalui


CosmosEntityTypeExtensions.GetPartitionKeyProperty Metode

Definisi

Overload

GetPartitionKeyProperty(IReadOnlyEntityType)

Mengembalikan properti yang digunakan untuk menyimpan kunci partisi.

GetPartitionKeyProperty(IMutableEntityType)

Mengembalikan properti yang digunakan untuk menyimpan kunci partisi.

GetPartitionKeyProperty(IConventionEntityType)

Mengembalikan properti yang digunakan untuk menyimpan kunci partisi.

GetPartitionKeyProperty(IEntityType)

Mengembalikan properti yang digunakan untuk menyimpan kunci partisi.

GetPartitionKeyProperty(IReadOnlyEntityType)

Mengembalikan properti yang digunakan untuk menyimpan kunci partisi.

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

Parameter

entityType
IReadOnlyEntityType

Jenis entitas untuk mendapatkan properti kunci partisi.

Mengembalikan

Nama properti kunci partisi.

Berlaku untuk

GetPartitionKeyProperty(IMutableEntityType)

Mengembalikan properti yang digunakan untuk menyimpan kunci partisi.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty? GetPartitionKeyProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetPartitionKeyProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function GetPartitionKeyProperty (entityType As IMutableEntityType) As IMutableProperty

Parameter

entityType
IMutableEntityType

Jenis entitas untuk mendapatkan properti kunci partisi.

Mengembalikan

Nama properti kunci partisi.

Berlaku untuk

GetPartitionKeyProperty(IConventionEntityType)

Mengembalikan properti yang digunakan untuk menyimpan kunci partisi.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionProperty? GetPartitionKeyProperty (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetPartitionKeyProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
<Extension()>
Public Function GetPartitionKeyProperty (entityType As IConventionEntityType) As IConventionProperty

Parameter

entityType
IConventionEntityType

Jenis entitas untuk mendapatkan properti kunci partisi.

Mengembalikan

Nama properti kunci partisi.

Berlaku untuk

GetPartitionKeyProperty(IEntityType)

Mengembalikan properti yang digunakan untuk menyimpan kunci partisi.

public static Microsoft.EntityFrameworkCore.Metadata.IProperty? GetPartitionKeyProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetPartitionKeyProperty : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IProperty
<Extension()>
Public Function GetPartitionKeyProperty (entityType As IEntityType) As IProperty

Parameter

entityType
IEntityType

Jenis entitas untuk mendapatkan properti kunci partisi.

Mengembalikan

Nama properti kunci partisi.

Berlaku untuk