RelationalIndexAnnotations.GetAnnotations 方法

定义

重载

GetAnnotations(IProperty)
GetAnnotations(IIndex)
GetAnnotations(IEntityType)

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

返回

适用于

GetAnnotations(IIndex)

protected virtual Microsoft.EntityFrameworkCore.Metadata.RelationalIndexAnnotations GetAnnotations (Microsoft.EntityFrameworkCore.Metadata.IIndex index);
abstract member GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IIndex -> Microsoft.EntityFrameworkCore.Metadata.RelationalIndexAnnotations
override this.GetAnnotations : Microsoft.EntityFrameworkCore.Metadata.IIndex -> Microsoft.EntityFrameworkCore.Metadata.RelationalIndexAnnotations
Protected Overridable Function GetAnnotations (index As IIndex) As RelationalIndexAnnotations

参数

index
IIndex

返回

适用于

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

返回

适用于