Table of Contents

Class MySqlForeignKey

Namespace
LfrlAnvil.MySql.Objects
Assembly
LfrlAnvil.MySql.dll

Represents an SQL foreign key constraint.

public sealed class MySqlForeignKey : SqlForeignKey, ISqlForeignKey, ISqlConstraint, ISqlObject
Inheritance
MySqlForeignKey
Implements
Inherited Members

Remarks

MySqlDialect implementation.

Properties

Database

Database that this object belongs to.

public MySqlDatabase Database { get; }

Property Value

MySqlDatabase

OriginIndex

SQL index that this foreign key originates from.

public MySqlIndex OriginIndex { get; }

Property Value

MySqlIndex

ReferencedIndex

SQL index referenced by this foreign key.

public MySqlIndex ReferencedIndex { get; }

Property Value

MySqlIndex

Table

Table that this constraint is attached to.

public MySqlTable Table { get; }

Property Value

MySqlTable