DataService.BuildAllRecordsQueryCommand

Builds a command object that queries all records (with specified fields) from the specified table.
Defining an order is possible as well.

public abstract IDbCommand BuildAllRecordsQueryCommand( string tableName,
	string fieldList,
	string orderBy,
	DataRowProcessMethod selectMethod );

Return Value

IDbCommand object

Parameters

tableName
Name of the table to query from

fieldList
Fields to query (or * for all fields)

orderBy
Order (or empty string if no special order is desired)

selectMethod
Select method (such as stored procedure or select commands)


See also:

Class DataService


  Last Updated: 5/23/2007 | © , 2007