共用方式為


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

傳回

適用於