共用方式為


IConventionKey.Builder 屬性

定義

取得可用來設定此索引鍵的產生器。

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionKeyBuilder Builder { get; }
member this.Builder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionKeyBuilder
Public ReadOnly Property Builder As IConventionKeyBuilder

屬性值

例外狀況

如果索引已從模型中移除。

適用於