Aracılığıyla paylaş


Annotatable.OnAnnotationSet(String, Annotation, Annotation) Yöntem

Tanım

Ek açıklama ayarlandığında veya kaldırıldığında çağrılır.

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

Parametreler

name
String

Küme ek açıklamasının anahtarı.

annotation
Annotation

Ek açıklama kümesi.

oldAnnotation
Annotation

Eski ek açıklama.

Döndürülenler

Ayarlanan ek açıklama.

Şunlara uygulanır