RelationalPropertyAnnotations.GetAnnotations 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
GetAnnotations(IProperty) |
Mendapatkan instans RelationalPropertyAnnotations untuk IProperty mempertahankan semantik yang RelationalAnnotations digunakan oleh instans ini untuk mengontrol anotasi pengaturan menurut konvensi. |
GetAnnotations(IEntityType) |
Mendapatkan instans RelationalEntityTypeAnnotations untuk IEntityType mempertahankan semantik yang RelationalAnnotations digunakan oleh instans ini untuk mengontrol anotasi pengaturan menurut konvensi. |
GetAnnotations(IProperty)
Mendapatkan instans RelationalPropertyAnnotations untuk IProperty mempertahankan semantik yang RelationalAnnotations digunakan oleh instans ini untuk mengontrol anotasi pengaturan menurut konvensi.
protected virtual Microsoft.EntityFrameworkCore.Metadata.RelationalPropertyAnnotations GetAnnotations (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.RelationalPropertyAnnotations
override this.GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.RelationalPropertyAnnotations
Protected Overridable Function GetAnnotations (property As IProperty) As RelationalPropertyAnnotations
Parameter
Mengembalikan
Instans baru RelationalPropertyAnnotations .
Berlaku untuk
GetAnnotations(IEntityType)
Mendapatkan instans RelationalEntityTypeAnnotations untuk IEntityType mempertahankan semantik yang RelationalAnnotations digunakan oleh instans ini untuk mengontrol anotasi pengaturan menurut konvensi.
protected virtual Microsoft.EntityFrameworkCore.Metadata.RelationalEntityTypeAnnotations GetAnnotations (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.RelationalEntityTypeAnnotations
override this.GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.RelationalEntityTypeAnnotations
Protected Overridable Function GetAnnotations (entityType As IEntityType) As RelationalEntityTypeAnnotations
Parameter
- entityType
- IEntityType
Untuk IEntityType membuat anotasi.
Mengembalikan
Instans baru RelationalEntityTypeAnnotations .
Berlaku untuk
Entity Framework