Actions right arrow Actions List right arrow Execute JavaScript right arrow Class List right arrow DataBaseObject

Contains methods and objects to interact with the database.


Functions

object GetColumnNames ( string tableName )

Retrieves an array that contains the list of columns in the given table.

Parameters:
tableName The data table for which to get the column names.
DataReaderObject Query ( string query )

Performs the given SQL query on the database and returns a DataReaderObject.

Parameters:
queryThe query to perform.
Returns:
A DataReaderObject object.
object TableNames ( )

Returns an array containing the list of data tables in the database.


Properties

string LastError

If the last action performed by this DataBaseObject caused an error, this object gets a description of it. Otherwise it gets an empty string.