Share via


RelationalEntityTypeAnnotations.GetAnnotations Method

Definition

Overloads

GetAnnotations(IEntityType)

Gets a RelationalEntityTypeAnnotations instance for the given IEntityType maintaining the RelationalAnnotations semantics being used by this instance to control setting annotations by convention.

GetAnnotations(IModel)

Gets a RelationalModelAnnotations instance for the given IModel maintaining the RelationalAnnotations semantics being used by this instance to control setting annotations by convention.

GetAnnotations(IEntityType)

Gets a RelationalEntityTypeAnnotations instance for the given IEntityType maintaining the RelationalAnnotations semantics being used by this instance to control setting annotations by 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

Parameters

entityType
IEntityType

The IEntityType to annotate.

Returns

A new RelationalEntityTypeAnnotations instance.

Applies to

GetAnnotations(IModel)

Gets a RelationalModelAnnotations instance for the given IModel maintaining the RelationalAnnotations semantics being used by this instance to control setting annotations by convention.

protected virtual Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations GetAnnotations (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
override this.GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Protected Overridable Function GetAnnotations (model As IModel) As RelationalModelAnnotations

Parameters

model
IModel

The IModel to annotate.

Returns

A new RelationalModelAnnotations instance.

Applies to