Table of Contents

Class PostgreSqlForeignKey

Namespace
LfrlAnvil.PostgreSql.Objects
Assembly
LfrlAnvil.PostgreSql.dll

Represents an SQL foreign key constraint.

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

Remarks

PostgreSqlDialect implementation.

Properties

Database

Database that this object belongs to.

public PostgreSqlDatabase Database { get; }

Property Value

PostgreSqlDatabase

OriginIndex

SQL index that this foreign key originates from.

public PostgreSqlIndex OriginIndex { get; }

Property Value

PostgreSqlIndex

ReferencedIndex

SQL index referenced by this foreign key.

public PostgreSqlIndex ReferencedIndex { get; }

Property Value

PostgreSqlIndex

Table

Table that this constraint is attached to.

public PostgreSqlTable Table { get; }

Property Value

PostgreSqlTable