Partilhar via


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

Definição

Chamado quando uma anotação foi definida ou removida.

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

A chave da anotação do conjunto.

annotation
Annotation

O conjunto de anotações.

oldAnnotation
Annotation

A anotação antiga.

Retornos

A anotação que foi definida.

Aplica-se a