RelationalScaffoldingModelFactory.VisitForeignKey 方法

定义

protected virtual Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey VisitForeignKey (Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, Microsoft.EntityFrameworkCore.Scaffolding.Metadata.ForeignKeyModel foreignKey);
abstract member VisitForeignKey : Microsoft.EntityFrameworkCore.ModelBuilder * Microsoft.EntityFrameworkCore.Scaffolding.Metadata.ForeignKeyModel -> Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey
override this.VisitForeignKey : Microsoft.EntityFrameworkCore.ModelBuilder * Microsoft.EntityFrameworkCore.Scaffolding.Metadata.ForeignKeyModel -> Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey
Protected Overridable Function VisitForeignKey (modelBuilder As ModelBuilder, foreignKey As ForeignKeyModel) As IMutableForeignKey

参数

modelBuilder
ModelBuilder
foreignKey
ForeignKeyModel

返回

适用于