Compartir a través de


RelationalValueGenerationConvention.ProcessPropertyAnnotationChanged Método

Definición

Se llama después de cambiar una anotación en una propiedad .

public virtual void ProcessPropertyAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
public virtual void ProcessPropertyAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder 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 ProcessPropertyAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
override this.ProcessPropertyAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Overridable Sub ProcessPropertyAnnotationChanged (propertyBuilder As IConventionPropertyBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

Parámetros

propertyBuilder
IConventionPropertyBuilder

Generador de la propiedad .

name
String

Nombre de la anotación.

annotation
IConventionAnnotation

Nueva anotación.

oldAnnotation
IConventionAnnotation

Anotación antigua.

context
IConventionContext<IConventionAnnotation>

Información adicional asociada a la ejecución de la convención.

Implementaciones

Se aplica a