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

IResourceStorageBase Members

A base interface that defines a storage which holds resources for appointments.

Properties

Name Description
AutoReload Gets or sets whether persistent object data is automatically fetched from the data source when it is modified. Inherited from IPersistentObjectStorage<T>.
ColorSaving Gets or sets a type of format to store the color information.
CustomFieldMappings Provides access to a collection of custom field mappings. Inherited from IPersistentObjectStorage<T>.
DataMember Gets or sets the data source member which supplies data to the storage object. Inherited from IPersistentObjectStorage<T>.
DataSource Gets or sets the object used as the data source to store persistent objects (appointments, resources., appointment dependencies). Inherited from IPersistentObjectStorage<T>.
Filter Gets or sets a string used to filter storage objects. Inherited from IPersistentObjectStorage<T>.
FilterCriteria Gets or sets the criteria to filter persistent objects in the storage. Inherited from IPersistentObjectStorage<T>.
Mappings Gets an object that specifies how persistent resource properties map to the data source fields.
Storage Provides access to the base storage component which holds persistent objects of any kind. Inherited from IPersistentObjectStorage<T>.

Methods

Name Description
Add(Resource) Appends the specified Resource object to the collection of resources in the storage.
AddRange(Resource[]) Appends an array of resources 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(Resource) Determines whether the storage contains the specified resource.
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>.
CreateResource(Object, String) Creates a new resource with the specified ID and caption.
CreateResource(Object) Creates a new resource with the specified ID.
Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Inherited from IDisposable.
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>.
GetResourceById(Object) Gets a resource from the collection by its ID value.
LoadFromXml(Stream) Loads resources from the stream in XML format to the resource storage.
LoadFromXml(String) Loads resources from the specified file in XML format to the resource storage.
Remove(Resource) Removes the specified resource from the storage.
SaveToXml(Stream) Saves resources from the resource storage to the specified stream in XML format.
SaveToXml(String) Saves resources from the resource storage to a file in XML format.
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>.
SetResourceFactory(IResourceFactory) Assigns the specified resource factory to the IResourceStorageBase.
ValidateDataSource() Checks mapped data source fields and mappings for availability and duplicates. Inherited from IPersistentObjectStorage<T>.
See Also