Compartir a través de


ConventionAnnotatable.OnAnnotationSet Método

Definición

Sobrecargas

OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)

Se llama cuando se estableció o quitó una anotación.

OnAnnotationSet(String, Annotation, Annotation)

Se llama cuando se estableció o quitó una anotación.

OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)

Se llama cuando se estableció o quitó una anotación.

protected virtual Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation);
protected virtual Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation);
override this.OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Protected Overridable Function OnAnnotationSet (name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation) As IConventionAnnotation

Parámetros

name
String

Clave de la anotación set.

annotation
IConventionAnnotation

Conjunto de anotaciones.

oldAnnotation
IConventionAnnotation

Anotación antigua.

Devoluciones

Anotación que se estableció.

Se aplica a

OnAnnotationSet(String, Annotation, Annotation)

Se llama cuando se estableció o quitó una anotación.

protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation oldAnnotation);
protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation? OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? oldAnnotation);
override this.OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overrides Function OnAnnotationSet (name As String, annotation As Annotation, oldAnnotation As Annotation) As Annotation

Parámetros

name
String

Clave de la anotación set.

annotation
Annotation

Conjunto de anotaciones.

oldAnnotation
Annotation

Anotación antigua.

Devoluciones

Anotación que se estableció.

Se aplica a