Share via


RelationalForeignKeyAnnotations.GetAnnotations Method

Definition

Overloads

GetAnnotations(IEntityType)
GetAnnotations(IForeignKey)
GetAnnotations(IProperty)

GetAnnotations(IEntityType)

protected virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations GetAnnotations (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations
override this.GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations
Protected Overridable Function GetAnnotations (entityType As IEntityType) As IRelationalEntityTypeAnnotations

Parameters

entityType
IEntityType

Returns

Applies to

GetAnnotations(IForeignKey)

protected virtual Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations GetAnnotations (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
override this.GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
Protected Overridable Function GetAnnotations (foreignKey As IForeignKey) As RelationalForeignKeyAnnotations

Parameters

foreignKey
IForeignKey

Returns

Applies to

GetAnnotations(IProperty)

protected virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations GetAnnotations (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations
override this.GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations
Protected Overridable Function GetAnnotations (property As IProperty) As IRelationalPropertyAnnotations

Parameters

property
IProperty

Returns

Applies to