Inherits TObject.
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 |
Definition at line 70 of file ZSqlStrings.pas.
TZSQLStatement::TZSQLStatement | ( | const string | SQL, | |
const TIntegerDynArray | ParamIndices, | |||
TStrings | Params | |||
) |
Creates a SQL statement object and assignes the main properties.
SQL | a SQL statement. | |
ParamIndices | a parameter indices. | |
Params | a list with all parameter names. |
Definition at line 217 of file ZSqlStrings.pas.
Integer TZSQLStatement::GetParamCount | ( | ) | [private] |
Gets a parameters count for this statement.
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.
Definition at line 248 of file ZSqlStrings.pas.
TStringDynArray TZSQLStatement::GetParamNamesArray | ( | ) | [private] |
Gets an array of parameter names.
Definition at line 263 of file ZSqlStrings.pas.
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.
Integer TZSQLStatement::ParamCount |
TIntegerDynArray TZSQLStatement::ParamIndices |
string TZSQLStatement::ParamNames |
TStringDynArray TZSQLStatement::ParamNamesArray |
string TZSQLStatement::SQL |