IResourceStorageBase Methods
A base interface that defines a storage which holds resources for appointments.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