MVCxResourceStorage Members
A storage which holds appointment resources.Constructors
Name | Description |
---|---|
MVCxResourceStorage() | Initializes a new instance of the MVCxResourceStorage class with the default settings. |
Properties
Name | Description |
---|---|
AutoReload | Gets or sets whether persistent object data is automatically fetched from the data source when it is modified. Inherited from PersistentObjectStorage<T>. |
ColorSaving | Gets or sets a type of format to store the color information. Inherited from ResourceStorageBase. |
Count | Gets the number of elements contained in a collection. Inherited from PersistentObjectStorage<T>. |
CustomFieldMappings | Provides access to the collection of mappings of the resource’s custom properties. Inherited from ASPxResourceStorage. |
Filter | Gets or sets a criteria string used to filter resources. Inherited from ResourceStorageBase. |
FilterCriteria | Gets or sets the criteria to filter resources in the storage. Inherited from ResourceStorageBase. |
IsDisposed | Gets a value indicating whether a storage has been disposed of. Inherited from PersistentObjectStorage<T>. |
IsLoading | Gets whether the storage is being initialized. Inherited from PersistentObjectStorage<T>. |
IsUpdateLocked | Gets whether the storage has been locked for updating. Inherited from PersistentObjectStorage<T>. |
Item[Int32] | Provides indexed access to the individual items in the collection which can be accessed via the storage’s ResourceStorageBase.Items property. Inherited from ResourceStorageBase. |
Items | Gets the collection of resources within the storage. Inherited from ResourceStorageBase. |
Mappings | Provides access to the object containing a set of resource’s properties mappings. Inherited from ASPxResourceStorage. |
ResourceFactory | Provides access to resource factory for the current storage. Inherited from ResourceStorageBase. |
ShouldUpdateAfterInsert | Gets or sets whether the appointment storage should perform the UPDATE query after INSERT. Inherited from PersistentObjectStorage<T>. |
Storage | Provides access to the Scheduler storage containing the current persistent object storage. Inherited from PersistentObjectStorage<T>. |
UnboundDataKeeper | Creates and holds an internal data table for the unbound mode. For internal use. Inherited from PersistentObjectStorage<T>. |
UnboundMode | Gets a value indicating if the storage is bound to data. Inherited from PersistentObjectStorage<T>. |
Methods
Name | Description |
---|---|
Add(Resource) | Appends the specified Resource object to the collection of resources in the storage. Inherited from ResourceStorageBase. |
AddRange(Resource[]) | Appends an array of resources to the storage’s collection. Inherited from ResourceStorageBase. |
AppendBaseMappings(MappingCollection) | Clears previous mappings and appends base mappings. Inherited from PersistentObjectStorage<T>. |
AppendCustomMappings() | Appends PersistentObjectStorage<T>.CustomFieldMappings to the collection of actual mappings. For internal use. Inherited from PersistentObjectStorage<T>. |
AppendDefaultMappings(MappingCollection) | Adds mappings for persistent object properties with field names equal to property names. Inherited from PersistentObjectStorage<T>. |
AppendMappings(MappingCollection) | Adds mappings defined in the storage to the specified mapping collection. Inherited from PersistentObjectStorage<T>. |
Assign(MVCxResourceStorage) | Copies the settings of the specified object to the current one. |
AttachStorage(ISchedulerStorageBase) | Sets the Scheduler storage which owns the current storage. Inherited from ResourceStorageBase. |
BeginInit() | Starts the scheduler storage initialization. Initialization occurs at runtime. Inherited from PersistentObjectStorage<T>. |
BeginUpdate() | Obsolete. Locks the object until the EndUpdate or CancelUpdate method is called. Inherited from PersistentObjectStorage<T>. |
CancelUpdate() | Obsolete. Unlocks the PersistentObjectStorage<T> object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from PersistentObjectStorage<T>. |
Clear() | Removes all the items from the persistent object storage. Inherited from PersistentObjectStorage<T>. |
CommitExistingObject(T) | Commits changes to an existing object. Updates the object data record in the underlying data source. For internal use. Inherited from PersistentObjectStorage<T>. |
CommitNewObject(T) | Commits a new object. Creates a new object data record and stores it in the underlying data source. For internal use. Inherited from PersistentObjectStorage<T>. |
Contains(Resource) | Determines whether the storage contains the specified resource. Inherited from ResourceStorageBase. |
CreateCustomFields(T) | Creates the custom fields specific to this persistent object and adds them to the object’s custom fields collection. Inherited from PersistentObjectStorage<T>. |
CreateResource(Object, String) | Creates a new resource with the specified ID and caption. Inherited from ResourceStorageBase. |
CreateResource(Object) | Creates a new resource with the specified ID. Inherited from ResourceStorageBase. |
Dispose() | Disposes of the PersistentObjectStorage<T> object. Inherited from PersistentObjectStorage<T>. |
EndInit() | Finalizes the storage initialization. Inherited from PersistentObjectStorage<T>. |
EndUpdate() | Obsolete. Unlocks the PersistentObjectStorage<T> object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from PersistentObjectStorage<T>. |
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. |
GetColumnNames() | Gets the names of data columns associated with this PersistentObjectStorage<T> object. Inherited from PersistentObjectStorage<T>. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetObjectRow(T) | Returns the data row object that contains information about the specified persistent object. Inherited from PersistentObjectStorage<T>. |
GetObjectValue(T, String) | Returns the value of the specified field in the data row that contains information about the specified persistent object. Inherited from PersistentObjectStorage<T>. |
GetResourceById(Object) | Gets a resource within the collection by its ID value. Inherited from ResourceStorageBase. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
LoadFromXml(Stream) | Loads settings of resources from the specified stream to the resource storage. Inherited from ResourceStorageBase. |
LoadFromXml(String) | Loads settings of resources from the specified XML file to the resource storage. Inherited from ResourceStorageBase. |
LoadObjects(Boolean) | Loads persistent objects from the data source to the storage. Inherited from PersistentObjectStorage<T>. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
RaiseReload(Boolean) | Raises the internal Reload event. This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from PersistentObjectStorage<T>. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
Remove(Resource) | Removes the specified Resource object from the storage. Inherited from ResourceStorageBase. |
RollbackExistingObject(T) | Restores an object to its previous state and cancels uncommitted changes that were made to the object. Inherited from PersistentObjectStorage<T>. |
SaveToXml(Stream) | Saves resources from the resource storage to the specified stream. Inherited from ResourceStorageBase. |
SaveToXml(String) | Saves resources from the resource storage to an XML file. Inherited from ResourceStorageBase. |
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 PersistentObjectStorage<T>. |
SetResourceFactory(IResourceFactory) | Assigns the specified resource factory to the ResourceStorageBase. Inherited from ResourceStorageBase. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
ValidateDataSource() | Checks mappings for validity. Inherited from ResourceStorageBase. |
Events
Name | Description |
---|---|
AutoReloading | Occurs when persistent object data is automatically fetched from the data source; allows cancelling data loading. Inherited from PersistentObjectStorage<T>. |
FilterChanged | Occurs when the PersistentObjectStorage<T>.Filter property value is changed. Inherited from PersistentObjectStorage<T>. |
MappingsChanged | Occurs when the field name of any object mapping in the storage is changed. Inherited from PersistentObjectStorage<T>. |
ObjectChanged | Occurs when a persistent object in the storage is changed. Inherited from PersistentObjectStorage<T>. |
ObjectChanging | Occurs before a persistent object in the storage is changed and allows you to cancel changes. Inherited from PersistentObjectStorage<T>. |
ObjectCollectionCleared | Occurs when a collection of persistent objects in the storage is cleared. Inherited from PersistentObjectStorage<T>. |
ObjectCollectionLoaded | Occurs when persistent objects are loaded from the data source into the storage. Inherited from PersistentObjectStorage<T>. |
ObjectDeleted | Occurs when a persistent object is deleted from the storage. Inherited from PersistentObjectStorage<T>. |
ObjectDeleting | Occurs before a persistent object is deleted from the storage and allows you to cancel deletion. Inherited from PersistentObjectStorage<T>. |
ObjectInserted | Occurs when a persistent object is inserted into the storage. Inherited from PersistentObjectStorage<T>. |
ObjectInserting | Occurs before a persistent object is inserted into the storage and allows you to cancel insertion. Inherited from PersistentObjectStorage<T>. |
ResourceVisibilityChanged | Occurs when the Resource.Visible property value is changed. Inherited from ResourceStorageBase. |
SortedColumnsChanged | Occurs when the sort order of columns in Resources Tree is changed. Inherited from ResourceStorageBase. |
See Also