CosmosPropertyExtensions.GetJsonPropertyNameConfigurationSource Method

Definition

Gets the ConfigurationSource the property name that the property is mapped to when targeting Cosmos.

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

Parameters

property
IConventionProperty

The property.

Returns

The ConfigurationSource the property name that the property is mapped to when targeting Cosmos.

Applies to