RelationalForeignKeyAnnotations 类

定义

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

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

构造函数

RelationalForeignKeyAnnotations(IForeignKey)

为给定 IForeignKey的批注构造实例。

RelationalForeignKeyAnnotations(IForeignKey, RelationalFullAnnotationNames)

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

RelationalForeignKeyAnnotations(RelationalAnnotations)

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

RelationalForeignKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

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

字段

DefaultForeignKeyNamePrefix

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

ProviderFullAnnotationNames

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

属性

Annotations

表示RelationalAnnotationsIForeignKey要批注的 的帮助程序。

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)

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

适用于