Skip to main content

TcxSchedulerAggregateStorage Class

The TcxSchedulerAggregateStorage implements the aggregate storage component.

Declaration

TcxSchedulerAggregateStorage = class(
    TcxCustomSchedulerStorage,
    IcxSchedulerStorageListener,
    IcxSchedulerStorageListener2
)

Remarks

The aggregate storage allows a scheduler to simultaneously use the TcxSchedulerDBStorage and TcxSchedulerStorage in the application. However, storages to be linked to the aggregate storage are not limited by the bound or unbound types. You can also link aggregate storage components to each other. This allows you to build a storage hierarchy of any level.

To control the data flow between the scheduler and storages, handle the OnEventInserting event.

Note the following:

  • To eliminate reminder alert duplicates, set the Reminders.Active property of bound storages to False, and the aggregate storage’s Reminders.Active property to True.

  • The aggregate storage doesn’t determine resources of linked storages. Use the aggregate storage’s Resources.Items property to create these resources again.

See Also