Back to Devexpress

MVCxResourceStorage Class

aspnetmvc-devexpress-dot-web-dot-mvc-8b3d15c9.md

latest3.3 KB
Original Source

MVCxResourceStorage Class

A storage which holds appointment resources.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public class MVCxResourceStorage :
    ASPxResourceStorage
vb
Public Class MVCxResourceStorage
    Inherits 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

IResourceStorageBase

IPersistentObjectStorage<Resource>

DevExpress.Utils.IBatchUpdateable

IDisposable

DevExpress.XtraScheduler.Internal.IInternalResourceStorage

DevExpress.XtraScheduler.Internal.IInternalPersistentObjectStorage<Resource>

DevExpress.Web.ASPxScheduler.Internal.ISchedulerMappingFieldChecker

Inheritance

Object PersistentObjectStorage<Resource> ResourceStorageBase ASPxResourceStorage MVCxResourceStorage

See Also

MVCxResourceStorage Members

DevExpress.Web.Mvc Namespace