CosmosEntityTypeExtensions.GetPartitionKeyProperty Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
Entity Framework
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk