共用方式為


RelationalForeignKeyAnnotations 建構函式

定義

多載

RelationalForeignKeyAnnotations(IForeignKey)

建構指定 IForeignKey 之注釋的實例。

RelationalForeignKeyAnnotations(RelationalAnnotations)

建構由指定批註協助程式所表示之 IForeignKey 注釋的 實例。

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

RelationalForeignKeyAnnotations(IForeignKey)

來源:
RelationalForeignKeyAnnotations.cs
來源:
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)

來源:
RelationalForeignKeyAnnotations.cs
來源:
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

適用於