RelationalForeignKeyAnnotations Class

Definition

Properties for relational-specific annotations accessed through Relational(IMutableForeignKey).

public class RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations
type RelationalForeignKeyAnnotations = class
    interface IRelationalForeignKeyAnnotations
Public Class RelationalForeignKeyAnnotations
Implements IRelationalForeignKeyAnnotations
Inheritance
RelationalForeignKeyAnnotations
Implements

Constructors

RelationalForeignKeyAnnotations(IForeignKey)

Constructs an instance for annotations of the given IForeignKey.

RelationalForeignKeyAnnotations(IForeignKey, RelationalFullAnnotationNames)
RelationalForeignKeyAnnotations(RelationalAnnotations)

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

RelationalForeignKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

Fields

DefaultForeignKeyNamePrefix
ProviderFullAnnotationNames

Properties

Annotations

The RelationalAnnotations helper representing the IForeignKey to annotate.

ForeignKey

The IForeignKey to annotate.

Name

The foreign key constraint name.

Methods

GetAnnotations(IEntityType)
GetAnnotations(IForeignKey)
GetAnnotations(IProperty)
GetDefaultForeignKeyName(String, String, IEnumerable<String>)
GetDefaultName()
GetNameConfigurationSource()
SetName(String)

Attempts to set the Name using the semantics of the RelationalAnnotations in use.

Applies to