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

IAppointmentStorageBase Methods

A platform-independent base interface that defines a storage which holds appointments.
Name Description
Add(Appointment) Appends the specified Appointment object to the storage’s collection.
AddRange(Appointment[]) Appends an array of appointments to the storage.
AppendBaseMappings(MappingCollection) Clears existing base mappings and appends the specified mappings. Inherited from IPersistentObjectStorage<T>.
Clear() Locks the IPersistentObjectStorage<T> object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from IPersistentObjectStorage<T>.
Contains(Appointment) Determines whether 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 a new appointment of the specified type.
CreateCustomFields(T) Creates the custom fields specific to this persistent object and adds them to the object’s custom fields collection. Inherited from IPersistentObjectStorage<T>.
Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Inherited from IDisposable.
GetAppointmentById(Object) Gets the appointment by its identifier.
GetColumnNames() Gets the names of data columns associated with this IPersistentObjectStorage<T> object. Inherited from IPersistentObjectStorage<T>.
GetObjectRow(T) Returns the data row object that contains information about the specified persistent object. Inherited from IPersistentObjectStorage<T>.
GetObjectValue(T, String) Obtains the value of the specified field in the data row that contains information about the specified persistent object. Inherited from IPersistentObjectStorage<T>.
IsNewAppointment(Appointment) Determines whether the appointment is new, so that it is not an occurrence, and the current IAppointmentStorageBase does not contain it.
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.
Remove(Appointment) Removes the specified Appointment object from the storage.
SaveToXml(Stream) Saves appointments from the storage to the specified stream.
SaveToXml(String) Saves appointments from the storage to a file in XML format.
SetAppointmentFactory(IAppointmentFactory) Assigns the specified appointment factory to the appointment storage.
SetObjectValue(T, String, Object) Assigns the specified value to a field in the data row that contains information about the specified persistent object. Inherited from IPersistentObjectStorage<T>.
ValidateDataSource() Checks mapped data source fields and mappings for availability and duplicates. Inherited from IPersistentObjectStorage<T>.
See Also