ASPxAppointmentStorage Class

Represents a storage which holds a collection of appointments.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v19.2.dll

Declaration

public class ASPxAppointmentStorage :
    AppointmentStorageBase,
    IASPxAppointmentStorage,
    IAppointmentStorageBase,
    IPersistentObjectStorage<Appointment>,
    IBatchUpdateable,
    IDisposable,
    IXtraSupportShouldSerialize,
    IXtraSupportDeserializeCollectionItem,
    ISchedulerMappingFieldChecker
Public Class ASPxAppointmentStorage
    Inherits AppointmentStorageBase
    Implements IASPxAppointmentStorage,
               IAppointmentStorageBase,
               IPersistentObjectStorage(Of Appointment),
               IBatchUpdateable,
               IDisposable,
               IXtraSupportShouldSerialize,
               IXtraSupportDeserializeCollectionItem,
               ISchedulerMappingFieldChecker

Remarks

The ASPxAppointmentStorage class represents a storage which holds appointments. The functionality of the ASPxAppointmentStorage class can be accessed via the ASPxSchedulerStorage.Appointments property.

In bound mode the ASPxAppointmentStorage object synchronizes its data with the its data source, specified by the ASPxAppointmentStorage.DataSource property. If appointments are added, deleted or modified, the changes are saved to the data source.

In unbound mode you can populate the storage with appointments using methods of the appointments collection.

Use the ASPxAppointmentStorage.Mappings property to specify which fields in the bound data source hold an appointment's description, location, type, recurrence information, resource id, etc. The values of these fields will be synchronized with the corresponding properties of Appointment objects. The ASPxAppointmentStorage.CustomFieldMappings enables you to create an extra set of appointment properties, bound to data fields.

Implements

DevExpress.Utils.IBatchUpdateHandler
DevExpress.Data.IDataControllerData2
DevExpress.Data.IDataControllerData
DevExpress.XtraScheduler.Data.IAppointmentLoaderProvider
DevExpress.Utils.IBatchUpdateable
DevExpress.Utils.Serializing.Helpers.IXtraSupportShouldSerialize
DevExpress.Utils.Serializing.Helpers.IXtraSupportDeserializeCollectionItem
See Also