Share via


CosmosPropertyExtensions.GetPropertyNameConfigurationSource Method

Definition

Gets the ConfigurationSource for the property name used when targeting Cosmos.

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetPropertyNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
static member GetPropertyNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetPropertyNameConfigurationSource (property As IConventionProperty) As Nullable(Of ConfigurationSource)

Parameters

property
IConventionProperty

The property.

Returns

The ConfigurationSource for the property name used when targeting Cosmos.

Applies to