Skip to main content

AppointmentDataStorage Members

A storage that holds a collection of appointments.

Constructors

Name Description
AppointmentDataStorage(SchedulerDataStorage) Initializes a new instance of the AppointmentDataStorage class with the specified settings.

Properties

Name Description
AutoReload Gets or sets whether persistent object data is automatically fetched from the data source when it is modified.
CommitIdToDataSource
Count Returns the number of appointments stored in this AppointmentDataStorage.
CustomFieldMappings Provides access to the collection of objects, representing mappings of the appointments’ custom properties to appropriate data fields.
DataMember Gets or sets the data source member which supplies data to the storage object.
DataSource Gets or sets the object used as the data source to store appointments for this AppointmentDataStorage.
Filter Gets or set an expression used as a criteria to filter appointments in the storage.
FilterCriteria Gets or sets the criteria to filter appointments in the storage.
IsDisposed Returns whether or not this AppointmentDataStorage is disposed.
Item[Int32] Provides indexed access to individual items in the appointment collection which can be accessed using the AppointmentStorageBase.Items property.
Items Gets the collection of appointments within the storage.
Labels Provides access to labels associated with this appointment storage.
Mappings Gets an object that specifies how appointment properties map to the data source fields.
ResourceSharing Gets or sets a value indicating whether an appointment could be shared between multiple resources.
Statuses Provides access to statuses associated with this appointment storage.
Storage Returns the SchedulerDataStorage that owns this AppointmentDataStorage.
SupportsRecurrence Gets whether the data mapping for appointment recurrence information is specified.
SupportsReminders Gets whether the appointment reminder data mapping is specified.

Methods

Name Description
Add(Appointment) Appends the specified Appointment object to the collection which can be accessed via the storage’s AppointmentDataStorage.Items property.
Add(AppointmentType, DateTime, DateTime, String) Adds a new appointment with specific properties to this AppointmentDataStorage.
Add(AppointmentType, DateTime, DateTime) Adds a new appointment with specific properties to this AppointmentDataStorage.
Add(AppointmentType, DateTime, TimeSpan, String) Adds a new appointment with specific properties to this AppointmentDataStorage.
Add(AppointmentType, DateTime, TimeSpan) Adds a new appointment with specific properties to this AppointmentDataStorage.
AddRange(Appointment[]) Appends an array of appointments to the storage’s collection.
AddRange(IEnumerable<Appointment>) Adds an collection of appointments to the storage’s collection.
Clear() Removes all appointments from this AppointmentDataStorage.
Contains(Appointment) Determines whether or not the storage contains the specified appointment.
CreateAppointment(AppointmentType, DateTime, DateTime, String) Creates an appointment of the specified type with the specified start time, end time and a subject.
CreateAppointment(AppointmentType, DateTime, DateTime) Creates an appointment of the specified type with the specified start and end time.
CreateAppointment(AppointmentType, DateTime, TimeSpan, String) Creates an appointment of the specified type with the specified start time, duration and a subject.
CreateAppointment(AppointmentType, DateTime, TimeSpan) Creates an appointment of the specified type with the specified start time and duration.
CreateAppointment(AppointmentType) Creates an appointment of the specified type.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetAppointmentById(Object) Gets the appointment by its identifier.
GetColumnNames() Returns names of data fields that belong to this AppointmentDataStorage‘s data source.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetObjectRow(Appointment) Returns the data source record (row) associated with the specific appointment.
GetType() Gets the Type of the current instance. Inherited from Object.
IsNewAppointment(Appointment)
LoadFromXml(Stream) Loads settings of appointments from the specified stream to the appointment storage.
LoadFromXml(String) Loads settings of appointments from the specified XML file to the appointment storage.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ReloadData() Forces the storage to reload data from the DataSource.
Remove(Appointment) Removes the specified Appointment object from the collection.
SaveToXml(Stream) Saves appointments from the storage to the specified stream.
SaveToXml(String) Saves appointments from the storage to an XML file.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also