Поделиться через


CosmosEntityTypeExtensions.GetPartitionKeyProperty Метод

Определение

Перегрузки

GetPartitionKeyProperty(IReadOnlyEntityType)

Возвращает свойство, используемое для хранения ключа секции.

GetPartitionKeyProperty(IMutableEntityType)

Возвращает свойство, используемое для хранения ключа секции.

GetPartitionKeyProperty(IConventionEntityType)

Возвращает свойство, используемое для хранения ключа секции.

GetPartitionKeyProperty(IEntityType)

Возвращает свойство, используемое для хранения ключа секции.

GetPartitionKeyProperty(IReadOnlyEntityType)

Возвращает свойство, используемое для хранения ключа секции.

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

Параметры

entityType
IReadOnlyEntityType

Тип сущности для получения свойства ключа секции.

Возвращаемое значение

Имя свойства ключа секции.

Применяется к

GetPartitionKeyProperty(IMutableEntityType)

Возвращает свойство, используемое для хранения ключа секции.

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

Параметры

entityType
IMutableEntityType

Тип сущности для получения свойства ключа секции.

Возвращаемое значение

Имя свойства ключа секции.

Применяется к

GetPartitionKeyProperty(IConventionEntityType)

Возвращает свойство, используемое для хранения ключа секции.

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

Параметры

entityType
IConventionEntityType

Тип сущности для получения свойства ключа секции.

Возвращаемое значение

Имя свойства ключа секции.

Применяется к

GetPartitionKeyProperty(IEntityType)

Возвращает свойство, используемое для хранения ключа секции.

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

Параметры

entityType
IEntityType

Тип сущности для получения свойства ключа секции.

Возвращаемое значение

Имя свойства ключа секции.

Применяется к