aspnet-devexpress-dot-web-dot-aspxscheduler-a6f6fe3a.md
Represents a storage which holds appointment resources.
Namespace : DevExpress.Web.ASPxScheduler
Assembly : DevExpress.Web.ASPxScheduler.v25.2.dll
NuGet Package : DevExpress.Web.Scheduler
public class ASPxResourceStorage :
ResourceStorageBase,
ISchedulerMappingFieldChecker
Public Class ASPxResourceStorage
Inherits ResourceStorageBase
Implements ISchedulerMappingFieldChecker
The following members return ASPxResourceStorage objects:
The ASPxResourceStorage class represents a storage which holds resources. The functionality of the ASPxResourceStorage class can be accessed via the ASPxSchedulerStorage.Resources property.
To associate a resource with an appointment this resource should be added to the ASPxResourceStorage object and then bound to the appointment via the Appointment.ResourceId property. It represents a resource ID specified by the IPersistentObject.Id property.
Use the ASPxResourceStorage.Mappings property to specify which fields in the bound data source hold a resource’s caption, color, image and ID. The values of these fields will be synchronized with the corresponding properties of Resource objects.
The appointments data source may contain a field which holds the resource ID’s of appointments. To enable automatic retrieval of the resource ID from the database, set the AppointmentMappingInfo.ResourceId property to the name of this field.
DevExpress.Utils.IBatchUpdateHandler
DevExpress.Data.IDataControllerData2
DevExpress.Data.IDataControllerData
IPersistentObjectStorage<Resource>
DevExpress.Utils.IBatchUpdateable
Object PersistentObjectStorage<Resource> ResourceStorageBase ASPxResourceStorage MVCxResourceStorage
See Also