CosmosEntityTypeExtensions.GetContainingPropertyName Method

Definition

Overloads

GetContainingPropertyName(IEntityType)

Returns the name of the parent property to which the entity type is mapped.

GetContainingPropertyName(IReadOnlyEntityType)

Returns the name of the parent property to which the entity type is mapped.

GetContainingPropertyName(IEntityType)

Returns the name of the parent property to which the entity type is mapped.

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

Parameters

entityType
IEntityType

The entity type to get the containing property name for.

Returns

The name of the parent property to which the entity type is mapped.

Applies to

GetContainingPropertyName(IReadOnlyEntityType)

Returns the name of the parent property to which the entity type is mapped.

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

Parameters

entityType
IReadOnlyEntityType

The entity type to get the containing property name for.

Returns

The name of the parent property to which the entity type is mapped.

Applies to