Aracılığıyla paylaş


RelationalPropertyAnnotations.GetAnnotations Yöntem

Tanım

Aşırı Yüklemeler

GetAnnotations(IProperty)

Kurala göre ayar ek açıklamalarını denetlemek için bu örnek tarafından kullanılan semantiği koruyan RelationalAnnotations verilen IProperty için bir RelationalPropertyAnnotations örnek alır.

GetAnnotations(IEntityType)

Kurala göre ayar ek açıklamalarını denetlemek için bu örnek tarafından kullanılan semantiği koruyan RelationalAnnotations verilen IEntityType için bir RelationalEntityTypeAnnotations örnek alır.

GetAnnotations(IProperty)

Kurala göre ayar ek açıklamalarını denetlemek için bu örnek tarafından kullanılan semantiği koruyan RelationalAnnotations verilen IProperty için bir RelationalPropertyAnnotations örnek alır.

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

Parametreler

property
IProperty

IProperty Not eklemek için.

Döndürülenler

Yeni RelationalPropertyAnnotations bir örnek.

Şunlara uygulanır

GetAnnotations(IEntityType)

Kurala göre ayar ek açıklamalarını denetlemek için bu örnek tarafından kullanılan semantiği koruyan RelationalAnnotations verilen IEntityType için bir RelationalEntityTypeAnnotations örnek alır.

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

Parametreler

entityType
IEntityType

IEntityType Not eklemek için.

Döndürülenler

Yeni RelationalEntityTypeAnnotations bir örnek.

Şunlara uygulanır