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 () | |
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 |
Exists | |
False | |
FetchRow | |
IndexFieldNames | |
LinkedFields | |
MasterFields | |
MasterSource | |
TDataSetErrorEvent | OnApplyUpdateError |
OnDeleteError | |
OnEditError | |
OnNewRecord | |
OnPostError | |
TUpdateRecordEvent | OnUpdateRecord |
Options | |
Properties | |
Sequence | |
SequenceField | |
ShowRecordTypes | |
TableName | |
UpdateMode | |
TZUpdateSQL | UpdateObject |
Boolean | UpdatesPending |
WhereMode | |
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. | |
InternalPost () | |
Performs an internal post updates. | |
InternalUpdate () | |
Performs an internal record updates. | |
Notification (TComponent AComponent, TOperation Operation) | |
Processes component notifications. | |
Protected Attributes | |
IZCachedResolver | CachedResolver |
IZCachedResultSet | CachedResultSet |
Definition at line 150 of file ZDataset.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 TZAbstractDataset::CreateStatement | ( | const string | SQL, | |
TStrings | Properties | |||
) | [protected, inherited] |
Creates a DBC statement for the query.
SQL | an SQL query. | |
Properties | a statement specific properties. |
Reimplemented in TZStoredProc.
Definition at line 453 of file ZAbstractDataset.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.
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] |
TZAbstractDataset::InternalClose | ( | ) | [protected, inherited] |
Performs internal query closing.
Reimplemented in TZStoredProc.
Definition at line 520 of file ZAbstractDataset.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.
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.
TZAbstractDataset::RevertRecord | ( | ) | [inherited] |
Reverts the previous status for the current row.
Definition at line 824 of file ZAbstractDataset.pas.
Definition at line 158 of file ZDataset.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.
Reimplemented from TZAbstractTable.
Definition at line 155 of file ZDataset.pas.
Definition at line 160 of file ZDataset.pas.
Definition at line 168 of file ZDataset.pas.
Definition at line 176 of file ZDataset.pas.
Definition at line 174 of file ZDataset.pas.
Definition at line 170 of file ZDataset.pas.
Definition at line 172 of file ZDataset.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 182 of file ZDataset.pas.
Definition at line 166 of file ZDataset.pas.
FSequenceField For writing
Reimplemented from TZAbstractDataset.
Definition at line 186 of file ZDataset.pas.
Definition at line 164 of file ZDataset.pas.
SetTableName For writing
Reimplemented from TZAbstractTable.
Definition at line 162 of file ZDataset.pas.
SetUpdateMode For writing
Reimplemented from TZAbstractDataset.
Definition at line 178 of file ZDataset.pas.
TZUpdateSQL TZAbstractDataset::UpdateObject [inherited] |
SetUpdateObject For writing
Definition at line 282 of file ZAbstractDataset.pas.
Boolean TZAbstractDataset::UpdatesPending [inherited] |
SetWhereMode For writing
Reimplemented from TZAbstractDataset.
Definition at line 180 of file ZDataset.pas.