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

AccessMetadataCache..::..GetForeignKeysForTable Method

Gets the foreign keys for a table.

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

Syntax


[EditorBrowsableAttribute]
public ForeignKeyConstraintCollection<AccessObjectName, OleDbType> GetForeignKeysForTable(
	AbstractObjectName tableName
)
<EditorBrowsableAttribute> _
Public Function GetForeignKeysForTable ( _
	tableName As AbstractObjectName _
) As ForeignKeyConstraintCollection(Of AccessObjectName, OleDbType)
[EditorBrowsableAttribute]
public:
ForeignKeyConstraintCollection<AccessObjectName^, OleDbType^>^ 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.