RelationalForeignKeyAnnotations 构造函数

定义

重载

RelationalForeignKeyAnnotations(IForeignKey)

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

RelationalForeignKeyAnnotations(RelationalAnnotations)

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

RelationalForeignKeyAnnotations(IForeignKey, RelationalFullAnnotationNames)
RelationalForeignKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

RelationalForeignKeyAnnotations(IForeignKey)

Source:
RelationalForeignKeyAnnotations.cs
Source:
RelationalForeignKeyAnnotations.cs

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

public RelationalForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
new Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
Public Sub New (foreignKey As IForeignKey)

参数

foreignKey
IForeignKey

要使用的 IForeignKey

适用于

RelationalForeignKeyAnnotations(RelationalAnnotations)

Source:
RelationalForeignKeyAnnotations.cs
Source:
RelationalForeignKeyAnnotations.cs

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

protected RelationalForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations);
new Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
Protected Sub New (annotations As RelationalAnnotations)

参数

annotations
RelationalAnnotations

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

适用于

RelationalForeignKeyAnnotations(IForeignKey, RelationalFullAnnotationNames)

public RelationalForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
Public Sub New (foreignKey As IForeignKey, providerFullAnnotationNames As RelationalFullAnnotationNames)

参数

foreignKey
IForeignKey
providerFullAnnotationNames
Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames

适用于

RelationalForeignKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

protected RelationalForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
Protected Sub New (annotations As RelationalAnnotations, providerFullAnnotationNames As RelationalFullAnnotationNames)

参数

annotations
RelationalAnnotations
providerFullAnnotationNames
Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames

适用于