共用方式為


IConventionForeignKey.Builder 屬性

定義

取得可用來設定這個外鍵的產生器。

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

屬性值

例外狀況

如果外鍵已從模型中移除。

適用於