다음을 통해 공유


RelationalDbFunctionAttributeConvention.ProcessModelAnnotationChanged 메서드

정의

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

public virtual void ProcessModelAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
abstract member ProcessModelAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
override this.ProcessModelAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Overridable Sub ProcessModelAnnotationChanged (modelBuilder As IConventionModelBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

매개 변수

modelBuilder
IConventionModelBuilder

모델의 작성기입니다.

name
String

주석 이름입니다.

annotation
IConventionAnnotation

새 주석입니다.

oldAnnotation
IConventionAnnotation

이전 주석입니다.

context
IConventionContext<IConventionAnnotation>

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

구현

적용 대상