Dela via


RelationalPropertyExtensions.GetDefaultValueConfigurationSource Method

Definition

Gets the ConfigurationSource for the default value.

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

Parameters

property
IConventionProperty

The property.

Returns

The ConfigurationSource for the default value.

Applies to