TTMSFNCTimelineDatabaseAdapter Class
Database adapter that loads, inserts, updates, deletes, and maps timeline items through dataset fields.
API unit family: TMSFNCTimelineDatabaseAdapter
Inherits from: TTMSFNCTimelineAdapter
Syntax
TTMSFNCTimelineDatabaseAdapter = class(TTMSFNCTimelineAdapter)
class PASCALIMPLEMENTATION TTMSFNCTimelineDatabaseAdapter : public TTMSFNCTimelineAdapter
Properties
| Name | Description |
|---|---|
| Item | Gets or sets the field mapping source used by the adapter. |
| Version | Gets the adapter version string. |
Methods
| Name | Description |
|---|---|
| AfterUpdateItem | Completes adapter processing after a timeline indicator has been updated. |
| DeleteItem | Deletes the dataset record associated with the timeline indicator. |
| InsertItem | Inserts a dataset record for the timeline indicator. |
| LoadItems | Loads timeline indicators and sections from the configured dataset. |
| ReadItem | Reads dataset values into the timeline indicator. |
| SelectItem | Selects the dataset record associated with the timeline indicator. |
| UpdateItem | Updates the dataset record associated with the timeline indicator. |
Events
| Name | Description |
|---|---|
| OnFieldsToIndicator | Occurs when dataset fields are mapped to a timeline item. |
| OnFieldsToSection | Occurs when dataset fields are mapped to a timeline item. |
| OnIndicatorCreateDBKey | Occurs when a database key is requested for a timeline item. |
| OnIndicatorInserted | Occurs after a timeline item has been inserted into the dataset. |
| OnIndicatorLocate | Occurs when the adapter locates the dataset record for a timeline item. |
| OnIndicatorRead | Occurs after a timeline item has been read from the dataset. |
| OnIndicatorToFields | Occurs when a timeline item is mapped to dataset fields. |
| OnIndicatorUpdated | Occurs after a timeline item has been updated in the dataset. |
| OnItemsLoaded | Occurs after the adapter has finished loading timeline items. |
| OnReadFields | Occurs when fields are read and the adapter is about to create or update a timeline item. |
| OnSectionCreateDBKey | Occurs when a database key is requested for a timeline item. |
| OnSectionInserted | Occurs after a timeline item has been inserted into the dataset. |
| OnSectionLocate | Occurs when the adapter locates the dataset record for a timeline item. |
| OnSectionRead | Occurs after a timeline item has been read from the dataset. |
| OnSectionToFields | Occurs when a timeline item is mapped to dataset fields. |
| OnSectionUpdated | Occurs after a timeline item has been updated in the dataset. |
| OnSetFieldFromIndicatorDate | Occurs when a date value is written from a timeline item to a field. |
| OnSetFieldFromSectionEndDate | Occurs when a date value is written from a timeline item to a field. |
| OnSetFieldFromSectionStartDate | Occurs when a date value is written from a timeline item to a field. |
| OnSetIndicatorDateFromField | Occurs when a date value is read from a field into a timeline item. |
| OnSetSectionEndDateFromField | Occurs when a date value is read from a field into a timeline item. |
| OnSetSectionStartDateFromField | Occurs when a date value is read from a field into a timeline item. |