IDADelta
From RemObjects Software
This is a Data Abstract Architecture entry
Feel free to add your notes to this topic below.
Overview
The IDADelta interface represents a set of changes to be transmitted between client and server. These can be client-side changes that are pending to be applied to the server database, or server-side changes that are being propagated back to the client. This interface is implemented by the TDADelta class.
File
- uDADelta
Hierarchy
- IDADelta
Properties
| | | |
|---|---|---|
| Changes | TDADeltaChange | Provides access to all the individual changes contained in the delta. The indexer is zero-based and the number of elements is indicated by the Count property. |
| Count | Integer | Returns the number of Changes contained within the delta. |
| KeyFieldCount | Integer | Indicates the number of fields that comprise the key for this delta. |
| KeyFieldNames | String | Lists the names of the fields that comprise the key for this delta. The indexer is zero-based and the number of elements is indicated by the KeyFieldCount property. |
| LoggedFieldCount | Integer | Shows the number of fields that comprise the data for this delta. |
| LoggedFieldNames | String | Holds the names of the fields that comprise the data for this delta. The indexer is zero-based and the number of elements is indicated by the LoggedFieldCount property. |
| LoggedFieldTypes | TDADataType | Lists the data types of the fields that comprise the data for this delta. The indexer is zero-based and the number of elements is indicated by the LoggedFieldCount property. |
| LogicalName | String | Definrs the name of the logical entity that this delta pertains to. Usually, this will be the name of the data table that changes should be applied to. |
Methods
| | |
|---|---|
| Add | Adds a new delta change to to the list of changes maintained within the delta. |
| Clear | Clears the delta and discards all the individual changes that it contains. |
| IsNewRecord | Indicates whether the record in question represents a newly inserted record that doesn't exist on the server yet (true) or a changed record that already exists on the server (false). If called without parameter (or with -1), the result value will indicate the status of the current record in the data table associated with the delta (client-side only). If called with a non-negative record id, it will indicate the status of that record. |
| RemoveChange | Removes a delta change to the list of changes maintained within the delta. |
See Also
Product: RemObjects Data Abstract
Current version: Data Abstract 'Vinci' (5.0)
Lists — Glossary — Features — How To — Drivers — Components — Tools — Samples — Articles — Architecture — Issues
Categories: Text | Data Abstract | Architecture | Interface | Delphi
