CosmosEntityTypeExtensions.GetContainerConfigurationSource Method

Definition

Gets the ConfigurationSource for the container to which the entity type is mapped.

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

Parameters

entityType
IConventionEntityType

The entity type to find configuration source for.

Returns

The ConfigurationSource for the container to which the entity type is mapped.

Applies to