Bagikan melalui


RelationalPropertyAnnotations.GetAnnotations Metode

Definisi

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

property
IProperty

Untuk IProperty membuat anotasi.

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