RelationalPropertyAnnotations.GetAnnotations Méthode

Définition

Surcharges

GetAnnotations(IProperty)

Obtient une RelationalPropertyAnnotations instance pour le donné IProperty en conservant la RelationalAnnotations sémantique utilisée par cette instance pour contrôler les annotations de paramètre par convention.

GetAnnotations(IEntityType)

Obtient une RelationalEntityTypeAnnotations instance pour le donné IEntityType en conservant la RelationalAnnotations sémantique utilisée par cette instance pour contrôler les annotations de paramètre par convention.

GetAnnotations(IProperty)

Obtient une RelationalPropertyAnnotations instance pour le donné IProperty en conservant la RelationalAnnotations sémantique utilisée par cette instance pour contrôler les annotations de paramètre par convention.

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

Paramètres

property
IProperty

IProperty à annoter.

Retours

Nouvelle instance de RelationalPropertyAnnotations.

S’applique à

GetAnnotations(IEntityType)

Obtient une RelationalEntityTypeAnnotations instance pour le donné IEntityType en conservant la RelationalAnnotations sémantique utilisée par cette instance pour contrôler les annotations de paramètre par convention.

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

Paramètres

entityType
IEntityType

IEntityType à annoter.

Retours

Nouvelle instance de RelationalEntityTypeAnnotations.

S’applique à