Public Member Functions | |
ApplyUpdates () | |
Applies all cached updates stored in the resultset. | |
CancelUpdates () | |
Cancels all cached updates and clears the buffer. | |
CommitUpdates () | |
Clears cached updates buffer. | |
EmptyDataSet () | |
ExecProc () | |
RevertRecord () | |
Reverts the previous status for the current row. | |
Public Attributes | |
Active | |
TNotifyEvent | AfterApplyUpdates |
AfterCancel | |
AfterDelete | |
AfterEdit | |
AfterInsert | |
AfterPost | |
TNotifyEvent | BeforeApplyUpdates |
BeforeCancel | |
BeforeDelete | |
BeforeEdit | |
BeforeInsert | |
BeforePost | |
Boolean | CachedUpdates |
TDataSetErrorEvent | OnApplyUpdateError |
OnDeleteError | |
OnEditError | |
OnNewRecord | |
OnPostError | |
TUpdateRecordEvent | OnUpdateRecord |
Options | |
ParamCheck | |
Params | |
TZSequence | Sequence |
string | SequenceField |
ShowRecordTypes | |
string | StoredProcName |
TZUpdateSQL | UpdateObject |
Boolean | UpdatesPending |
Protected Member Functions | |
IZResultSet | CreateResultSet (const string SQL, Integer MaxRows) |
Creates a DBC resultset for the query. | |
IZPreparedStatement | CreateStatement (const string SQL, TStrings Properties) |
Creates a DBC statement for the query. | |
DOAfterApplyUpdates () | |
DOBeforeApplyUpdates () | |
InternalAddRecord (Pointer Buffer, Boolean Append) | |
Performs an internal adding a new record. | |
InternalCancel () | |
Performs an internal cancel updates. | |
InternalClose () | |
Performs internal query closing. | |
InternalDelete () | |
Performs an internal record removing. | |
InternalEdit () | |
Performs an internal action before switch into edit mode. | |
InternalOpen () | |
Performs internal query opening. | |
InternalPost () | |
Performs an internal post updates. | |
InternalUpdate () | |
Performs an internal record updates. | |
Notification (TComponent AComponent, TOperation Operation) | |
Processes component notifications. | |
SetStatementParams (IZPreparedStatement Statement, TStringDynArray ParamNames, TParams Params, TDataLink DataLink) | |
Fill prepared statement with parameters. | |
Protected Attributes | |
IZCachedResolver | CachedResolver |
IZCachedResultSet | CachedResultSet |
TZUpdateMode | UpdateMode |
TZWhereMode | WhereMode |
Private Member Functions | |
string | GetStoredProcName () |
RetrieveParamValues () | |
Retrieves parameter values from callable statement. | |
SetStoredProcName (const string Value) |
Definition at line 79 of file ZStoredProcedure.pas.
TZAbstractDataset::ApplyUpdates | ( | ) | [inherited] |
Applies all cached updates stored in the resultset.
Definition at line 764 of file ZAbstractDataset.pas.
TZAbstractDataset::CancelUpdates | ( | ) | [inherited] |
Cancels all cached updates and clears the buffer.
Definition at line 807 of file ZAbstractDataset.pas.
TZAbstractDataset::CommitUpdates | ( | ) | [inherited] |
IZResultSet TZAbstractDataset::CreateResultSet | ( | const string | SQL, | |
Integer | MaxRows | |||
) | [protected, inherited] |
Creates a DBC resultset for the query.
SQL | an SQL query. | |
MaxRows | a maximum rows number (-1 for all). |
Definition at line 497 of file ZAbstractDataset.pas.
IZPreparedStatement TZStoredProc::CreateStatement | ( | const string | SQL, | |
TStrings | Properties | |||
) | [protected] |
Creates a DBC statement for the query.
SQL | an SQL query. | |
Properties | a statement specific properties. |
Reimplemented from TZAbstractDataset.
Definition at line 184 of file ZStoredProcedure.pas.
TZAbstractDataset::DOAfterApplyUpdates | ( | ) | [protected, inherited] |
Definition at line 1052 of file ZAbstractDataset.pas.
TZAbstractDataset::DOBeforeApplyUpdates | ( | ) | [protected, inherited] |
Definition at line 1043 of file ZAbstractDataset.pas.
TZAbstractDataset::EmptyDataSet | ( | ) | [inherited] |
Definition at line 1061 of file ZAbstractDataset.pas.
TZStoredProc::ExecProc | ( | ) |
Definition at line 427 of file ZStoredProcedure.pas.
string TZStoredProc::GetStoredProcName | ( | ) | [private] |
Definition at line 377 of file ZStoredProcedure.pas.
TZAbstractDataset::InternalAddRecord | ( | Pointer | Buffer, | |
Boolean | Append | |||
) | [protected, inherited] |
Performs an internal adding a new record.
Buffer | a buffer of the new adding record. | |
Append | True if record should be added to the end of the result set. |
Definition at line 582 of file ZAbstractDataset.pas.
TZAbstractDataset::InternalCancel | ( | ) | [protected, inherited] |
TZStoredProc::InternalClose | ( | ) | [protected] |
Performs internal query closing.
Reimplemented from TZAbstractDataset.
Definition at line 369 of file ZStoredProcedure.pas.
TZAbstractDataset::InternalDelete | ( | ) | [protected, inherited] |
TZAbstractDataset::InternalEdit | ( | ) | [protected, inherited] |
Performs an internal action before switch into edit mode.
Definition at line 536 of file ZAbstractDataset.pas.
TZStoredProc::InternalOpen | ( | ) | [protected] |
TZAbstractDataset::InternalPost | ( | ) | [protected, inherited] |
TZAbstractDataset::InternalUpdate | ( | ) | [protected, inherited] |
TZAbstractDataset::Notification | ( | TComponent | AComponent, | |
TOperation | Operation | |||
) | [protected, inherited] |
Processes component notifications.
AComponent | a changed component object. | |
Operation | a component operation code. |
Definition at line 744 of file ZAbstractDataset.pas.
TZStoredProc::RetrieveParamValues | ( | ) | [private] |
Retrieves parameter values from callable statement.
Definition at line 291 of file ZStoredProcedure.pas.
TZAbstractDataset::RevertRecord | ( | ) | [inherited] |
Reverts the previous status for the current row.
Definition at line 824 of file ZAbstractDataset.pas.
TZStoredProc::SetStatementParams | ( | IZPreparedStatement | Statement, | |
TStringDynArray | ParamNames, | |||
TParams | Params, | |||
TDataLink | DataLink | |||
) | [protected] |
Fill prepared statement with parameters.
Statement | a prepared SQL statement. | |
ParamNames | an array of parameter names. | |
Params | a collection of SQL parameters. | |
DataLink | a datalink to get parameters. |
Definition at line 216 of file ZStoredProcedure.pas.
TZStoredProc::SetStoredProcName | ( | const string | Value | ) | [private] |
Definition at line 385 of file ZStoredProcedure.pas.
Definition at line 149 of file ZStoredProcedure.pas.
TNotifyEvent TZAbstractDataset::AfterApplyUpdates [inherited] |
FAfterApplyUpdates For writing
Definition at line 304 of file ZAbstractDataset.pas.
TZAbstractDataset::AfterCancel [inherited] |
Definition at line 324 of file ZAbstractDataset.pas.
TZAbstractDataset::AfterDelete [inherited] |
Definition at line 328 of file ZAbstractDataset.pas.
TZAbstractDataset::AfterEdit [inherited] |
Definition at line 316 of file ZAbstractDataset.pas.
TZAbstractDataset::AfterInsert [inherited] |
Definition at line 312 of file ZAbstractDataset.pas.
TZAbstractDataset::AfterPost [inherited] |
Definition at line 320 of file ZAbstractDataset.pas.
TNotifyEvent TZAbstractDataset::BeforeApplyUpdates [inherited] |
FBeforeApplyUpdates For writing
Definition at line 300 of file ZAbstractDataset.pas.
TZAbstractDataset::BeforeCancel [inherited] |
Definition at line 322 of file ZAbstractDataset.pas.
TZAbstractDataset::BeforeDelete [inherited] |
Definition at line 326 of file ZAbstractDataset.pas.
TZAbstractDataset::BeforeEdit [inherited] |
Definition at line 314 of file ZAbstractDataset.pas.
TZAbstractDataset::BeforeInsert [inherited] |
Definition at line 310 of file ZAbstractDataset.pas.
TZAbstractDataset::BeforePost [inherited] |
Definition at line 318 of file ZAbstractDataset.pas.
IZCachedResolver TZAbstractDataset::CachedResolver [protected, inherited] |
FCachedResolver For writing
Definition at line 171 of file ZAbstractDataset.pas.
IZCachedResultSet TZAbstractDataset::CachedResultSet [protected, inherited] |
FCachedResultSet For writing
Definition at line 167 of file ZAbstractDataset.pas.
Boolean TZAbstractDataset::CachedUpdates [inherited] |
SetCachedUpdates For writing
Definition at line 286 of file ZAbstractDataset.pas.
TDataSetErrorEvent TZAbstractDataset::OnApplyUpdateError [inherited] |
FOnApplyUpdateError For writing
Definition at line 291 of file ZAbstractDataset.pas.
TZAbstractDataset::OnDeleteError [inherited] |
Definition at line 330 of file ZAbstractDataset.pas.
TZAbstractDataset::OnEditError [inherited] |
Definition at line 332 of file ZAbstractDataset.pas.
TZAbstractDataset::OnNewRecord [inherited] |
Definition at line 336 of file ZAbstractDataset.pas.
TZAbstractDataset::OnPostError [inherited] |
Definition at line 334 of file ZAbstractDataset.pas.
TUpdateRecordEvent TZAbstractDataset::OnUpdateRecord [inherited] |
FOnUpdateRecord For writing
Definition at line 295 of file ZAbstractDataset.pas.
Definition at line 160 of file ZStoredProcedure.pas.
Definition at line 154 of file ZStoredProcedure.pas.
Definition at line 156 of file ZStoredProcedure.pas.
TZSequence TZAbstractDataset::Sequence [inherited] |
string TZAbstractDataset::SequenceField [inherited] |
FSequenceField For writing
Reimplemented in TZTable.
Definition at line 277 of file ZAbstractDataset.pas.
Definition at line 158 of file ZStoredProcedure.pas.
string TZStoredProc::StoredProcName |
SetStoredProcName For writing
Definition at line 164 of file ZStoredProcedure.pas.
TZUpdateMode TZAbstractDataset::UpdateMode [protected, inherited] |
SetUpdateMode For writing
Reimplemented in TZTable.
Definition at line 175 of file ZAbstractDataset.pas.
TZUpdateSQL TZAbstractDataset::UpdateObject [inherited] |
SetUpdateObject For writing
Definition at line 282 of file ZAbstractDataset.pas.
Boolean TZAbstractDataset::UpdatesPending [inherited] |
TZWhereMode TZAbstractDataset::WhereMode [protected, inherited] |
SetWhereMode For writing
Reimplemented in TZTable.
Definition at line 179 of file ZAbstractDataset.pas.