ISkipNavigationForeignKeyChangedConvention.ProcessSkipNavigationForeignKeyChanged 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在略過巡覽反向變更之後呼叫。
public void ProcessSkipNavigationForeignKeyChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder skipNavigationBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey oldForeignKey, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey> context);
public void ProcessSkipNavigationForeignKeyChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder skipNavigationBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey? foreignKey, Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey? oldForeignKey, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey> context);
abstract member ProcessSkipNavigationForeignKeyChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey * Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey> -> unit
Public Sub ProcessSkipNavigationForeignKeyChanged (skipNavigationBuilder As IConventionSkipNavigationBuilder, foreignKey As IConventionForeignKey, oldForeignKey As IConventionForeignKey, context As IConventionContext(Of IConventionForeignKey))
參數
- skipNavigationBuilder
- IConventionSkipNavigationBuilder
略過導覽的產生器。
- foreignKey
- IConventionForeignKey
目前的略過流覽外鍵。
- oldForeignKey
- IConventionForeignKey
舊的略過流覽外鍵。
- context
- IConventionContext<IConventionForeignKey>
與慣例執行相關聯的其他資訊。