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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework