Skip to main content
A newer version of this page is available. .

AppointmentDependencyDataStorage Class

A storage which holds a collection of appointment dependencies.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll

Declaration

public class AppointmentDependencyDataStorage :
    ItemDataStorage<AppointmentDependency>,
    IAppointmentDependencyStorage,
    IPersistentObjectStorage<AppointmentDependency>,
    IBatchUpdateable,
    IDisposable,
    IInternalAppointmentDependencyStorage,
    IInternalPersistentObjectStorage<AppointmentDependency>

The following members return AppointmentDependencyDataStorage objects:

Remarks

The AppointmentDependencyStorage class is a storage which holds appointment dependencies. To get access to an instance of the class, use the SchedulerDataStorage.AppointmentDependencies property. The collection of dependencies is available using the AppointmentDependencyStorage.Items property.

When the AppointmentDependencyStorage instance is connected to a data source by specifying its DataSource and DataMember properties, the bound mode is switched on. In this mode, if the PersistentObjectStorage<T>.AutoReload property is set to true, dependencies are automatically retrieved from the specified data source, and when data in the data source is modified, the AppointmentDependencyStorage object automatically reloads the data. If the AutoReload property is set to false, data is not automatically loaded and reloaded from the data source. You should use the SchedulerDataStorage.RefreshData method to manually reload data in this situation.

In bound mode you should use the AppointmentDependencyStorage.Mappings property to specify which fields in the bound data source hold the parent and child (dependent) appointment identifiers and the type of dependency. The values of these fields will be synchronized with the corresponding properties of AppointmentDependency objects.

Inheritance

Object
DevExpress.XtraScheduler.Internal.ItemDataStorage<AppointmentDependency>
AppointmentDependencyDataStorage
See Also