CosmosEntityTypeExtensions.GetPartitionKeyPropertyNameConfigurationSource(IConventionEntityType) Yöntem

Tanım

ConfigurationSourceBölüm anahtarını depolamak için kullanılan özelliği için öğesini alır.

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetPartitionKeyPropertyNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetPartitionKeyPropertyNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetPartitionKeyPropertyNameConfigurationSource (entityType As IConventionEntityType) As Nullable(Of ConfigurationSource)

Parametreler

entityType
IConventionEntityType

Yapılandırma kaynağını bulunacak varlık türü.

Döndürülenler

Nullable<ConfigurationSource>

ConfigurationSourceBölüm anahtarı özelliği için.

Şunlara uygulanır