CosmosEntityTypeExtensions.GetContainingPropertyNameConfigurationSource Method

Definition

Gets the ConfigurationSource for the parent property to which the entity type is mapped.

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

Parameters

entityType
IConventionEntityType

The entity type to find configuration source for.

Returns

The ConfigurationSource for the parent property to which the entity type is mapped.

Applies to