共用方式為


ISkipNavigationAnnotationChangedConvention.ProcessSkipNavigationAnnotationChanged 方法

定義

在略過導覽上變更批註之後呼叫。

public void ProcessSkipNavigationAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder skipNavigationBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
public void ProcessSkipNavigationAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder skipNavigationBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
abstract member ProcessSkipNavigationAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Sub ProcessSkipNavigationAnnotationChanged (skipNavigationBuilder As IConventionSkipNavigationBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

參數

skipNavigationBuilder
IConventionSkipNavigationBuilder

略過導覽的產生器。

name
String

批註名稱。

annotation
IConventionAnnotation

新的批註。

oldAnnotation
IConventionAnnotation

舊的批註。

context
IConventionContext<IConventionAnnotation>

與慣例執行相關聯的其他資訊。

適用於