语言

RelationalForeignKeyAnnotations 类

定义

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

public class RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations
type RelationalForeignKeyAnnotations = class
    interface IRelationalForeignKeyAnnotations
Public Class RelationalForeignKeyAnnotations
Implements IRelationalForeignKeyAnnotations
继承
RelationalForeignKeyAnnotations
实现

构造函数

名称 说明
RelationalForeignKeyAnnotations(IForeignKey, RelationalFullAnnotationNames)

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

RelationalForeignKeyAnnotations(IForeignKey)

构造给定 IForeignKey批注的实例。

RelationalForeignKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

RelationalForeignKeyAnnotations(RelationalAnnotations)

构造由给定批注帮助程序表示的 IForeignKey 批注的实例。

字段

名称 说明
DefaultForeignKeyNamePrefix

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

ProviderFullAnnotationNames

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

属性

名称 说明
Annotations

RelationalAnnotations表示批注的IForeignKey帮助程序。

ForeignKey

要 IForeignKey 批注。

Name

外键约束名称。

方法

名称 说明
GetAnnotations(IEntityType)

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

GetAnnotations(IForeignKey)

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

GetAnnotations(IProperty)

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

GetDefaultForeignKeyName(String, String, IEnumerable<String>)

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

GetDefaultName()

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

GetNameConfigurationSource()

通过 Relational(IMutableForeignKey)访问的关系特定批注的属性。

SetName(String)

尝试使用中的语义RelationalAnnotations设置Name。

适用于