语言

ConventionPropertyExtensions.GetValueGeneratorFactoryConfigurationSource 方法

定义

返回用于 . 的配置 GetValueGeneratorFactory(IProperty)源。

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

参数

property
IConventionProperty

要查找其配置源的属性。

返回

的 GetValueGeneratorFactory(IProperty)配置源。

适用于