Skip to main content

MVCxResourceStorage Class

A storage which holds appointment resources.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public class MVCxResourceStorage :
    ASPxResourceStorage

The following members return MVCxResourceStorage objects:

Remarks

The MVCxResourceStorage class represents a storage which holds resources. The functionality of the MVCxResourceStorage class can be accessed via the ASPxSchedulerStorage.Resources property.

To associate a resource with an appointment, this resource should be added to the MVCxResourceStorage 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 ASPxResourceStorage.CustomFieldMappings enables you to create an extra set of properties, bound to data fields.

Implements

DevExpress.Utils.IBatchUpdateHandler
DevExpress.Data.IDataControllerData2
DevExpress.Data.IDataControllerData
DevExpress.Utils.IBatchUpdateable
DevExpress.XtraScheduler.Internal.IInternalResourceStorage
DevExpress.XtraScheduler.Internal.IInternalPersistentObjectStorage<Resource>
DevExpress.Web.ASPxScheduler.Internal.ISchedulerMappingFieldChecker
See Also