RelationalForeignKeyAnnotations.GetAnnotations 方法

定义

重载

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

参数

entityType
IEntityType

返回

适用于

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

参数

foreignKey
IForeignKey

返回

适用于

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

参数

property
IProperty

返回

适用于