语言

RelationalPropertyExtensions.GetDefaultValueConfigurationSource 方法

定义

获取 ConfigurationSource 默认值。

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)

参数

property
IConventionProperty

属性。

返回

默认值 ConfigurationSource 。

适用于