TZSQLStatement Class Reference

Represents a SQL statement description object. More...

Inherits TObject.

List of all members.

Public Member Functions

 TZSQLStatement (const string SQL, const TIntegerDynArray ParamIndices, TStrings Params)
 Creates a SQL statement object and assignes the main properties.

Public Attributes

Integer ParamCount
TIntegerDynArray ParamIndices
string ParamNames
TStringDynArray ParamNamesArray
string SQL

Private Member Functions

Integer GetParamCount ()
 Gets a parameters count for this statement.
string GetParamName (Integer Index)
 Gets a parameter name by it's index inside the statement.
TStringDynArray GetParamNamesArray ()
 Gets an array of parameter names.

Private Attributes

TIntegerDynArray FParamIndices
TStrings FParams
string FSQL


Detailed Description

Represents a SQL statement description object.

Definition at line 70 of file ZSqlStrings.pas.


Constructor & Destructor Documentation

TZSQLStatement::TZSQLStatement ( const string  SQL,
const TIntegerDynArray  ParamIndices,
TStrings  Params 
)

Creates a SQL statement object and assignes the main properties.

Parameters:
SQL a SQL statement.
ParamIndices a parameter indices.
Params a list with all parameter names.

Definition at line 217 of file ZSqlStrings.pas.


Member Function Documentation

Integer TZSQLStatement::GetParamCount (  )  [private]

Gets a parameters count for this statement.

Returns:
a parameters count.

Definition at line 234 of file ZSqlStrings.pas.

string TZSQLStatement::GetParamName ( Integer  Index  )  [private]

Gets a parameter name by it's index inside the statement.

Returns:
a parameter name.

Definition at line 248 of file ZSqlStrings.pas.

TStringDynArray TZSQLStatement::GetParamNamesArray (  )  [private]

Gets an array of parameter names.

Returns:
an array of parameter names.

Definition at line 263 of file ZSqlStrings.pas.


Member Data Documentation

TIntegerDynArray TZSQLStatement::FParamIndices [private]

Definition at line 77 of file ZSqlStrings.pas.

TStrings TZSQLStatement::FParams [private]

Definition at line 79 of file ZSqlStrings.pas.

string TZSQLStatement::FSQL [private]

Definition at line 75 of file ZSqlStrings.pas.

See also:
GetParamCount For reading

Definition at line 103 of file ZSqlStrings.pas.

TIntegerDynArray TZSQLStatement::ParamIndices

See also:
FParamIndices For reading

Definition at line 109 of file ZSqlStrings.pas.

See also:
GetParamName For reading

Definition at line 106 of file ZSqlStrings.pas.

See also:
GetParamNamesArray For reading

Definition at line 112 of file ZSqlStrings.pas.

See also:
FSQL For reading

Definition at line 100 of file ZSqlStrings.pas.


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

Generated on Wed Dec 30 08:42:57 2009 for zeoslib by  doxygen 1.5.7.1