vcl-cxschedulerdbstorage-f5f1c91d.md
Manages event resources persisted in a relational data store.
TcxSchedulerDBStorageResources = class(
TcxSchedulerStorageResources
)
This class implements a data-aware resource container designed to manage resources stored in a bound event persistence manager component. The container can store resources within the same underlying dataset that the persistence manager uses to store user events.
The TcxSchedulerDBStorageResources class has public API members that allow you to do the following:
Associate the resource container with a data source (DataSource).
Map the key resource properties to the corresponding fields in the underlying dataset (ResourceColor, ResourceID, ResourceImageIndex, ResourceName, ResourceVisible, ResourceWorkDays, ResourceWorkFinish, and ResourceWorkStart).
Access and manage the resource collection (Items).
Obtain individual resource names (GetResourceName and GetResourceNameByID).
Assign an image source for the stored resources (Images).
Identify if there is a resource associated with an image from the associated image list (AreImagesUsed).
Access the data-aware event persistence manager to which the resource container belongs (Storage).
The data-aware event persistence manager’s Resources property references a TcxSchedulerDBStorageResources object.
TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TcxSchedulerStorageResources TcxSchedulerDBStorageResources
See Also
TcxSchedulerStorageResources Class
TcxSchedulerWebServiceStorageResources Class