Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

PostgreSqlMetadataCache..::..GetForeignKeysForTable Method

Gets the foreign keys for a table.

Namespace:  Tortuga.Chain.PostgreSql
Assembly:  Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)

Syntax


[EditorBrowsableAttribute]
public ForeignKeyConstraintCollection<PostgreSqlObjectName, NpgsqlDbType> GetForeignKeysForTable(
	AbstractObjectName tableName
)
<EditorBrowsableAttribute> _
Public Function GetForeignKeysForTable ( _
	tableName As AbstractObjectName _
) As ForeignKeyConstraintCollection(Of PostgreSqlObjectName, NpgsqlDbType)
[EditorBrowsableAttribute]
public:
ForeignKeyConstraintCollection<PostgreSqlObjectName^, NpgsqlDbType^>^ GetForeignKeysForTable(
	AbstractObjectName^ tableName
)

Parameters

tableName
Type: AbstractObjectName
Name of the table.

Return Value

ForeignKeyConstraintCollection<MySqlObjectName, MySqlDbType>.

Remarks


This should be read from a TableOrViewMetadata object. Do not call this method directly.