Class MySqlForeignKey
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
OriginIndex
SQL index that this foreign key originates from.
public MySqlIndex OriginIndex { get; }
Property Value
ReferencedIndex
SQL index referenced by this foreign key.
public MySqlIndex ReferencedIndex { get; }
Property Value
Table
Table that this constraint is attached to.
public MySqlTable Table { get; }