다음을 통해 공유


IKeyAnnotationChangedConvention.ProcessKeyAnnotationChanged 메서드

정의

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

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

매개 변수

keyBuilder
IConventionKeyBuilder

키에 대한 작성기입니다.

name
String

주석 이름입니다.

annotation
IConventionAnnotation

새 주석입니다.

oldAnnotation
IConventionAnnotation

이전 주석입니다.

context
IConventionContext<IConventionAnnotation>

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

적용 대상