Craig's Utility Library  4.0 Beta
Utilities.DataTypes.Table Class Reference

Holds tabular information More...

Public Member Functions

 Table (params string[] ColumnNames)
 Constructor More...
 
 Table (IDataReader Reader)
 Constructor More...
 
virtual Table AddRow (params object[] Objects)
 Adds a row using the objects passed in More...
 

Properties

Hashtable ColumnNameHash [get]
 Column Name hash table More...
 
string[] ColumnNames [get, protected set]
 Column names for the table More...
 
ICollection< RowRows [get]
 Rows within the table More...
 
Row this[int RowNumber] [get]
 Gets a specific row More...
 

Detailed Description

Holds tabular information

Definition at line 105 of file Table.cs.

Constructor & Destructor Documentation

Utilities.DataTypes.Table.Table ( params string[]  ColumnNames)

Constructor

Parameters
ColumnNamesColumn names

Definition at line 111 of file Table.cs.

Utilities.DataTypes.Table.Table ( IDataReader  Reader)

Constructor

Parameters
ReaderData reader to get the data from

Definition at line 129 of file Table.cs.

Member Function Documentation

virtual Table Utilities.DataTypes.Table.AddRow ( params object[]  Objects)
virtual

Adds a row using the objects passed in

Parameters
ObjectsObjects to create the row from
Returns
This

Definition at line 191 of file Table.cs.

Property Documentation

Hashtable Utilities.DataTypes.Table.ColumnNameHash
get

Column Name hash table

Definition at line 160 of file Table.cs.

string [] Utilities.DataTypes.Table.ColumnNames
getprotected set

Column names for the table

Definition at line 165 of file Table.cs.

ICollection<Row> Utilities.DataTypes.Table.Rows
get

Rows within the table

Definition at line 170 of file Table.cs.

Row Utilities.DataTypes.Table.this[int RowNumber]
get

Gets a specific row

Parameters
RowNumberRow number
Returns
The row specified

Definition at line 178 of file Table.cs.


The documentation for this class was generated from the following file: