This class extends DatabaseObjects by storing all objects associated with this
DatabaseObjects collection in memory. Any objects added via VolatileObjectAdd()
or VolatileObjectDelete() only affect the memory list until VolatileObjectsSave() is called.
VolatileObjectsSave() will delete any objects flagged for deletion via VolatileObjectDelete()
and then save any pre-loaded or newly added objects via VolatileObjectsAdd()
to the database.
Item objects can implement IDatabaseObjectVolatile to override the default saving
behaviour of VolatileObjectsSave().
Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
public abstract class DatabaseObjectsVolatile : DatabaseObjects, IEnumerable |
Visual Basic |
---|
Public MustInherit Class DatabaseObjectsVolatile _ Inherits DatabaseObjects _ Implements IEnumerable |
Visual C++ |
---|
public ref class DatabaseObjectsVolatile abstract : public DatabaseObjects, IEnumerable |
Inheritance Hierarchy
System..::..Object
DatabaseObjects..::..DatabaseObjects
DatabaseObjects..::..DatabaseObjectsVolatile
DatabaseObjects..::..DatabaseObjectsVolatileUsingAttributes
DatabaseObjects.Generic..::..DatabaseObjectsVolatile<(Of <(<'T>)>)>
DatabaseObjects..::..DatabaseObjects
DatabaseObjects..::..DatabaseObjectsVolatile
DatabaseObjects..::..DatabaseObjectsVolatileUsingAttributes
DatabaseObjects.Generic..::..DatabaseObjectsVolatile<(Of <(<'T>)>)>