PersistentObjectStorage<T> Members
In This Article
#Properties
Name | Description |
---|---|
Auto |
Gets or sets whether persistent object data is automatically fetched from the data source when it is modified. |
Count | Gets the number of elements contained in a collection. |
Custom |
Gets or sets mappings for custom fields. |
Data |
For internal use only. |
Data |
Gets or sets the data source member which supplies data to the storage object. |
Data |
Gets or sets the object used as the data source to store persistent objects (appointments, resources or appointment dependencies). |
Filter | Gets or sets a criteria string used to filter storage objects. |
Filter |
Gets or sets the criteria to filter persistent objects in the storage. |
Is |
Gets a value indicating whether a storage has been disposed of. |
Is |
Gets whether the storage is being initialized. |
Is |
Gets whether the storage has been locked for updating. |
Item[Int32] | Provides indexed access to individual items contained within the storage. |
Items | Gets the collection of persistent objects within the storage. |
Mappings | Provides access to object mappings. |
Should |
Gets or sets whether the appointment storage should perform the UPDATE query after INSERT. |
Storage | Provides access to the Scheduler storage containing the current persistent object storage. |
Unbound |
Creates and holds an internal data table for the unbound mode. For internal use. |
Unbound |
Gets a value indicating if the storage is bound to data. |
#Methods
Name | Description |
---|---|
Append |
Clears previous mappings and appends base mappings. |
Append |
Appends Persistent |
Append |
Adds mappings for persistent object properties with field names equal to property names. |
Append |
Adds mappings defined in the storage to the specified mapping collection. |
Begin |
Starts the scheduler storage initialization. Initialization occurs at runtime. |
Begin |
Obsolete. Locks the object until the End |
Cancel |
Obsolete. Unlocks the Persistent |
Clear() | Removes all the items from the persistent object storage. |
Commit |
Commits changes to an existing object. Updates the object data record in the underlying data source. For internal use. |
Commit |
Commits a new object. Creates a new object data record and stores it in the underlying data source. For internal use. |
Create |
Creates the custom fields specific to this persistent object and adds them to the object’s custom fields collection. |
Dispose() |
Disposes of the Persistent |
End |
Finalizes the storage initialization. |
End |
Obsolete. Unlocks the Persistent |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Get |
Gets the names of data columns associated with this Persistent |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Returns the data row object that contains information about the specified persistent object. |
Get |
Returns the value of the specified field in the data row that contains information about the specified persistent object. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Load |
Loads persistent objects from the data source to the storage. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Raise |
Raises the internal Reload event. This member supports the internal infrastructure and is not intended to be used directly from your code. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Rollback |
Restores an object to its previous state and cancels uncommitted changes that were made to the object. |
Set |
Assigns the specified value to a field in the data row that contains information about the specified persistent object. |
To |
Returns a string that represents the current object. Inherited from Object. |
Validate |
Checks mappings for validity. |
#Events
Name | Description |
---|---|
Auto |
Occurs when persistent object data is automatically fetched from the data source; allows cancelling data loading. |
Filter |
Occurs when the Persistent |
Mappings |
Occurs when the field name of any object mapping in the storage is changed. |
Object |
Occurs when a persistent object in the storage is changed. |
Object |
Occurs before a persistent object in the storage is changed and allows you to cancel changes. |
Object |
Occurs when a collection of persistent objects in the storage is cleared. |
Object |
Occurs when persistent objects are loaded from the data source into the storage. |
Object |
Occurs when a persistent object is deleted from the storage. |
Object |
Occurs before a persistent object is deleted from the storage and allows you to cancel deletion. |
Object |
Occurs when a persistent object is inserted into the storage. |
Object |
Occurs before a persistent object is inserted into the storage and allows you to cancel insertion. |
See Also