RelationalScaffoldingModelFactory.VisitForeignKeys Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
protected virtual Microsoft.EntityFrameworkCore.ModelBuilder VisitForeignKeys (Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Scaffolding.Metadata.ForeignKeyModel> foreignKeys);
abstract member VisitForeignKeys : Microsoft.EntityFrameworkCore.ModelBuilder * System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Scaffolding.Metadata.ForeignKeyModel> -> Microsoft.EntityFrameworkCore.ModelBuilder
override this.VisitForeignKeys : Microsoft.EntityFrameworkCore.ModelBuilder * System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Scaffolding.Metadata.ForeignKeyModel> -> Microsoft.EntityFrameworkCore.ModelBuilder
Protected Overridable Function VisitForeignKeys (modelBuilder As ModelBuilder, foreignKeys As IList(Of ForeignKeyModel)) As ModelBuilder
Parameters
- modelBuilder
- ModelBuilder
- foreignKeys
- IList<ForeignKeyModel>
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework