Table of Contents

Class SqliteForeignKey

Namespace
LfrlAnvil.Sqlite.Objects
Assembly
LfrlAnvil.Sqlite.dll

Represents an SQL foreign key constraint.

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

Remarks

SqliteDialect implementation.

Properties

Database

Database that this object belongs to.

public SqliteDatabase Database { get; }

Property Value

SqliteDatabase

OriginIndex

SQL index that this foreign key originates from.

public SqliteIndex OriginIndex { get; }

Property Value

SqliteIndex

ReferencedIndex

SQL index referenced by this foreign key.

public SqliteIndex ReferencedIndex { get; }

Property Value

SqliteIndex

Table

Table that this constraint is attached to.

public SqliteTable Table { get; }

Property Value

SqliteTable

Methods

ToString()

Returns a string representation of this SqliteForeignKey instance.

[Pure]
public override string ToString()

Returns

string

String representation.