Partager via


IComplexPropertyAnnotationChangedConvention.ProcessComplexPropertyAnnotationChanged Méthode

Définition

Appelé après la modification d’une annotation sur une propriété complexe.

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))

Paramètres

propertyBuilder
IConventionComplexPropertyBuilder

Générateur de la propriété complexe.

name
String

Nom de l’annotation.

annotation
IConventionAnnotation

Nouvelle annotation.

oldAnnotation
IConventionAnnotation

Ancienne annotation.

context
IConventionContext<IConventionAnnotation>

Informations supplémentaires associées à l’exécution de la convention.

S’applique à