RelationalForeignKeyAnnotations.GetAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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