AnnotatableBase.OnAnnotationSet(String, Annotation, Annotation) Método

Definición

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

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation? OnAnnotationSet (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? oldAnnotation);
abstract member OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.OnAnnotationSet : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable 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