Поделиться через


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

Возвращаемое значение

Применяется к