Share via


RelationalForeignKeyAnnotations Constructors

Definition

Overloads

RelationalForeignKeyAnnotations(IForeignKey)

Constructs an instance for annotations of the given IForeignKey.

RelationalForeignKeyAnnotations(RelationalAnnotations)

Constructs an instance for annotations of the IForeignKey represented by the given annotation helper.

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

RelationalForeignKeyAnnotations(IForeignKey)

Constructs an instance for annotations of the given 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)

Parameters

foreignKey
IForeignKey

The IForeignKey to use.

Applies to

RelationalForeignKeyAnnotations(RelationalAnnotations)

Constructs an instance for annotations of the IForeignKey represented by the given annotation helper.

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)

Parameters

annotations
RelationalAnnotations

The RelationalAnnotations helper representing the IForeignKey to annotate.

Applies to

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)

Parameters

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

Applies to

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)

Parameters

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

Applies to