OpenPetra
Free Administration Software for Non-Profits
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
Ict.Petra.Server.MCommon.TPagedDataSet.TAsyncFindParameters Class Reference
Inheritance diagram for Ict.Petra.Server.MCommon.TPagedDataSet.TAsyncFindParameters:

Public Member Functions

 TAsyncFindParameters (String AColumns, String ATable, String AWhereCriteria, String AOrderBy, Hashtable AColumNameMapping, OdbcParameter[] AParametersArray)
 Initialises the fields. More...
 
 TAsyncFindParameters (String ASqlQuery)
 

Public Attributes

String FSearchName
 Set this to the name of the search. More...
 

Detailed Description

Nested Class for passing in of parameters.

This is used because the main execution occurs in a Thread, and it's not straightforward to pass in several typed parameters to a Thread Delegate.

Constructor & Destructor Documentation

◆ TAsyncFindParameters() [1/2]

Ict.Petra.Server.MCommon.TPagedDataSet.TAsyncFindParameters.TAsyncFindParameters ( String  AColumns,
String  ATable,
String  AWhereCriteria,
String  AOrderBy,
Hashtable  AColumNameMapping,
OdbcParameter[]  AParametersArray 
)
inline

Initialises the fields.

Parameters
AColumnsColumns part of the SQL SELECT statement
ATableTable part of the SQL SELECT statement
AWhereCriteriaWHERE part of the SQL SELECT statement
AOrderByORDER BY part of the SQL SELECT statement
AColumNameMappingHashTable containing a mapping of source column names to result column names
AParametersArrayArray containing the OdbcParameters for the parameterised query

◆ TAsyncFindParameters() [2/2]

Ict.Petra.Server.MCommon.TPagedDataSet.TAsyncFindParameters.TAsyncFindParameters ( String  ASqlQuery)
inline

Parameters
ASqlQueryCompletely formed SqlQuery

Member Data Documentation

◆ FSearchName

String Ict.Petra.Server.MCommon.TPagedDataSet.TAsyncFindParameters.FSearchName

Set this to the name of the search.


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