Freigeben über


RelationalPropertyAnnotations.GetAnnotations Methode

Definition

Überlädt

GetAnnotations(IProperty)

Ruft einen RelationalPropertyAnnotations instance für die angegebene IProperty Abhaltung der Semantik ab, die RelationalAnnotations von diesem instance verwendet wird, um Einstellungsanmerkungen nach Konventionen zu steuern.

GetAnnotations(IEntityType)

Ruft einen RelationalEntityTypeAnnotations instance für die angegebene IEntityType Abhaltung der Semantik ab, die RelationalAnnotations von diesem instance verwendet wird, um Einstellungsanmerkungen nach Konventionen zu steuern.

GetAnnotations(IProperty)

Ruft einen RelationalPropertyAnnotations instance für die angegebene IProperty Abhaltung der Semantik ab, die RelationalAnnotations von diesem instance verwendet wird, um Einstellungsanmerkungen nach Konventionen zu steuern.

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

Die IProperty zu kommentierende.

Gibt zurück

Eine neue RelationalPropertyAnnotations-Instanz.

Gilt für:

GetAnnotations(IEntityType)

Ruft einen RelationalEntityTypeAnnotations instance für die angegebene IEntityType Abhaltung der Semantik ab, die RelationalAnnotations von diesem instance verwendet wird, um Einstellungsanmerkungen nach Konventionen zu steuern.

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

Die IEntityType zu kommentierende.

Gibt zurück

Eine neue RelationalEntityTypeAnnotations-Instanz.

Gilt für: