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

属性值

例外

如果已从模型中删除外键。

适用于