다음을 통해 공유


INavigationAnnotationChangedConvention.ProcessNavigationAnnotationChanged 메서드

정의

탐색에서 주석이 변경된 후 호출됩니다.

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

매개 변수

relationshipBuilder
IConventionForeignKeyBuilder

외래 키에 대한 작성기입니다.

navigation
IConventionNavigation

탐색입니다.

name
String

주석 이름입니다.

annotation
IConventionAnnotation

새 주석입니다.

oldAnnotation
IConventionAnnotation

이전 주석입니다.

context
IConventionContext<IConventionAnnotation>

규칙 실행과 관련된 추가 정보입니다.

적용 대상