다음을 통해 공유


CosmosEntityTypeExtensions.GetPartitionKeyPropertyName 메서드

정의

오버로드

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

파티션 키 속성 이름을 가져올 엔터티 형식입니다.

반환

파티션 키 속성의 이름입니다.

적용 대상