SqlServerMetadataCache..::..GetForeignKeysForTable Method
Gets the foreign keys for a table.
Namespace:
Tortuga.Chain.SqlServerAssembly: Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)
Syntax
[EditorBrowsableAttribute] public ForeignKeyConstraintCollection<SqlServerObjectName, SqlDbType> GetForeignKeysForTable( SqlServerObjectName tableName )
<EditorBrowsableAttribute> _ Public Function GetForeignKeysForTable ( _ tableName As SqlServerObjectName _ ) As ForeignKeyConstraintCollection(Of SqlServerObjectName, SqlDbType)
[EditorBrowsableAttribute] public: ForeignKeyConstraintCollection<SqlServerObjectName^, SqlDbType^>^ GetForeignKeysForTable( SqlServerObjectName^ tableName )
Parameters
- tableName
- Type: Tortuga.Chain.SqlServer..::..SqlServerObjectName
Name of the table.

