Back to Devexpress

TcxSchedulerAggregateStorage Class

vcl-cxscheduleraggregatestorage.md

latest2.7 KB
Original Source

TcxSchedulerAggregateStorage Class

The TcxSchedulerAggregateStorage implements the aggregate storage component.

Declaration

delphi
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.

Implements

IcxSchedulerStorageListener

IcxSchedulerStorageListener2

Inheritance

TObject TPersistent TComponent TcxCustomComponent TcxCustomSchedulerStorage TcxSchedulerAggregateStorage

See Also

Aggregate Storage

How to Bind Multiple Scheduler Storages to a Scheduler at Design-Time

How to Bind Multiple Scheduler Storages to a Scheduler in Code

TcxSchedulerAggregateStorage Members

cxSchedulerAggregateStorage Unit