共用方式為


SqlServerModelExtensions.GetSequenceNameSuffixConfigurationSource 方法

定義

ConfigurationSource 回預設值產生序列名稱尾碼的 。

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

參數

model
IConventionModel

模型本身。

傳回

ConfigurationSource預設索引鍵值產生序列名稱的 。

適用於