Fills three tables with info about the columns, primary keys, columns datatypes for a specified table. Tables, index0 - colums, using sp_Columns1 - datatypes, using sp_datatype_info2 - Primary key(s), using sp_keys

[Visual Basic]
Protected Function GetTableInformation( _
   ByVal entityName As String _
) As System.Data.DataSet
[C#]
protected DataSet GetTableInformation(
   string entityName
);

Parameters

entityName

The name of the table

Return Value

DataSet containing above specified tables.

See Also

General Class | General Members | Magnusson.Data.SqlAutomation Namespace