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