Sdílet prostřednictvím


RelationalPropertyAnnotations.GetAnnotations Metoda

Definice

Přetížení

GetAnnotations(IProperty)

RelationalPropertyAnnotations Získá instanci pro danou IProperty údržbu sémantiky RelationalAnnotations používané touto instancí k řízení nastavení poznámek podle konvence.

GetAnnotations(IEntityType)

RelationalEntityTypeAnnotations Získá instanci pro danou IEntityType údržbu sémantiky RelationalAnnotations používané touto instancí k řízení nastavení poznámek podle konvence.

GetAnnotations(IProperty)

RelationalPropertyAnnotations Získá instanci pro danou IProperty údržbu sémantiky RelationalAnnotations používané touto instancí k řízení nastavení poznámek podle konvence.

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

Parametry

property
IProperty

K IProperty anotaci.

Návraty

Nová RelationalPropertyAnnotations instance.

Platí pro

GetAnnotations(IEntityType)

RelationalEntityTypeAnnotations Získá instanci pro danou IEntityType údržbu sémantiky RelationalAnnotations používané touto instancí k řízení nastavení poznámek podle konvence.

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

Parametry

entityType
IEntityType

K IEntityType anotaci.

Návraty

Nová RelationalEntityTypeAnnotations instance.

Platí pro