共用方式為


SqlServerModelExtensions.GetHiLoSequenceNameConfigurationSource 方法

定義

ConfigurationSource傳回預設 hi-lo 序列名稱的 。

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

參數

model
IConventionModel

模型本身。

傳回

ConfigurationSource預設 hi-lo 序列名稱的 。

適用於