SqlServerModelExtensions.GetValueGenerationStrategyConfigurationSource 方法

定义

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetValueGenerationStrategyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model);
static member GetValueGenerationStrategyConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetValueGenerationStrategyConfigurationSource (model As IConventionModel) As Nullable(Of ConfigurationSource)

参数

model
IConventionModel

模型。

返回

ConfigurationSource默认 SqlServerValueGenerationStrategy的 。

适用于