ConventionAnnotatable.OnAnnotationSet Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation) |
Ek açıklama ayarlandığında veya kaldırıldığında çağrılır. |
OnAnnotationSet(String, Annotation, Annotation) |
Ek açıklama ayarlandığında veya kaldırıldığında çağrılır. |
OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)
Ek açıklama ayarlandığında veya kaldırıldığında çağrılır.
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
Parametreler
- name
- String
Küme ek açıklamasının anahtarı.
- annotation
- IConventionAnnotation
Ek açıklama kümesi.
- oldAnnotation
- IConventionAnnotation
Eski ek açıklama.
Döndürülenler
Ayarlanan ek açıklama.
Şunlara uygulanır
OnAnnotationSet(String, Annotation, Annotation)
Ek açıklama ayarlandığında veya kaldırıldığında çağrılır.
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
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
Entity Framework
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin