CosmosEntityTypeExtensions.GetContainingPropertyName 方法

定义

重载

GetContainingPropertyName(IEntityType)

返回实体类型映射到的父属性的名称。

GetContainingPropertyName(IReadOnlyEntityType)

返回实体类型映射到的父属性的名称。

GetContainingPropertyName(IEntityType)

返回实体类型映射到的父属性的名称。

public static string GetContainingPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetContainingPropertyName : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetContainingPropertyName (entityType As IEntityType) As String

参数

entityType
IEntityType

要获取其包含的属性名称的实体类型。

返回

实体类型映射到的父属性的名称。

适用于

GetContainingPropertyName(IReadOnlyEntityType)

返回实体类型映射到的父属性的名称。

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

参数

entityType
IReadOnlyEntityType

要获取其包含的属性名称的实体类型。

返回

实体类型映射到的父属性的名称。

适用于