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 | |
TNotifyEvent | AfterApplyUpdates |
AfterCancel | |
AfterDelete | |
AfterEdit | |
AfterInsert | |
AfterPost | |
TNotifyEvent | BeforeApplyUpdates |
BeforeCancel | |
BeforeDelete | |
BeforeEdit | |
BeforeInsert | |
BeforePost | |
Boolean | CachedUpdates |
TDataSetErrorEvent | OnApplyUpdateError |
OnDeleteError | |
OnEditError | |
OnNewRecord | |
OnPostError | |
TUpdateRecordEvent | OnUpdateRecord |
TZSequence | Sequence |
string | SequenceField |
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. | |
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 |
Boolean | Exists |
string | TableName |
TZUpdateMode | UpdateMode |
TZWhereMode | WhereMode |
Private Member Functions | |
Boolean | GetExists () |
Checks if a table with the corresponding name exists in the database. | |
SetTableName (const string Value) | |
Sets a new table name and generates a related SQL statement. | |
Private Attributes | |
string | FTableName |
Definition at line 67 of file ZAbstractTable.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.
Boolean TZAbstractTable::GetExists | ( | ) | [private] |
Checks if a table with the corresponding name exists in the database.
True
if the the table exists. Definition at line 129 of file ZAbstractTable.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.
TZAbstractTable::SetTableName | ( | const string | Value | ) | [private] |
Sets a new table name and generates a related SQL statement.
Value | a new name of table. |
Definition at line 158 of file ZAbstractTable.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.
Boolean TZAbstractTable::Exists [protected] |
Reimplemented in TZTable.
Definition at line 111 of file ZAbstractTable.pas.
string TZAbstractTable::FTableName [private] |
Definition at line 72 of file ZAbstractTable.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.
TZSequence TZAbstractDataset::Sequence [inherited] |
string TZAbstractDataset::SequenceField [inherited] |
FSequenceField For writing
Reimplemented in TZTable.
Definition at line 277 of file ZAbstractDataset.pas.
string TZAbstractTable::TableName [protected] |
SetTableName For writing
Reimplemented in TZTable.
Definition at line 114 of file ZAbstractTable.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.