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

MySqlMetadataCache..::..GetForeignKeysForTable Method

Gets the foreign keys for a table.

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

Syntax


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