Share via


RelationalScaffoldingModelFactory.VisitForeignKey Method

Definition

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

Parameters

modelBuilder
ModelBuilder
foreignKey
ForeignKeyModel

Returns

Applies to