RelationalIndexAnnotations.GetAnnotations 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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