ConventionAnnotatable.OnAnnotationSet Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation) |
Dipanggil saat anotasi diatur atau dihapus. |
OnAnnotationSet(String, Annotation, Annotation) |
Dipanggil saat anotasi diatur atau dihapus. |
OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)
Dipanggil saat anotasi diatur atau dihapus.
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
Parameter
- name
- String
Kunci anotasi yang ditetapkan.
- annotation
- IConventionAnnotation
Set anotasi.
- oldAnnotation
- IConventionAnnotation
Anotasi lama.
Mengembalikan
Anotasi yang ditetapkan.
Berlaku untuk
OnAnnotationSet(String, Annotation, Annotation)
Dipanggil saat anotasi diatur atau dihapus.
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
Parameter
- name
- String
Kunci anotasi yang ditetapkan.
- annotation
- Annotation
Set anotasi.
- oldAnnotation
- Annotation
Anotasi lama.
Mengembalikan
Anotasi yang ditetapkan.
Berlaku untuk
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Entity Framework