Compartilhar via


IComplexPropertyAnnotationChangedConvention.ProcessComplexPropertyAnnotationChanged Método

Definição

Chamado depois que uma anotação é alterada em uma propriedade complexa.

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

Parâmetros

propertyBuilder
IConventionComplexPropertyBuilder

O construtor da propriedade complexa.

name
String

O nome da anotação.

annotation
IConventionAnnotation

A nova anotação.

oldAnnotation
IConventionAnnotation

A anotação antiga.

context
IConventionContext<IConventionAnnotation>

Informações adicionais associadas à execução da convenção.

Aplica-se a