TcxSchedulerDBStorageResources Class
Manages event resources persisted in a relational data store.
Declaration
TcxSchedulerDBStorageResources = class(
TcxSchedulerStorageResources
)
Remarks
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.
Main API Members
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).
Direct TcxSchedulerDBStorageResources Class Reference
The data-aware event persistence manager’s Resources property references a TcxSchedulerDBStorageResources
object.