RelationalScaffoldingModelFactory.VisitForeignKey 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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