Persistate

Accessing persistent objects

Hide Navigation Pane

Accessing persistent objects

Previous topic Next topic No directory for this topic  

Accessing persistent objects

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

This section provides details of how you access persistent objects from your code.  When you process your definition file using the Persistate Generator add-in for Visual Studio, it creates .Net classes corresponding to the object classes you define, and structs corresponding to some data classes.

Future Enhancement

In the current version of Persistate, you are limited to creating applications in the C# language.  In future versions, other .Net languages will be supported.

See The persistent tree for information on how your code “enters” the persistent object tree to access instances of these generated classes corresponding to the objects in persistent storage.
The Scalar members section explains what Generator creates for individual object or data members and how they are accessed in code.
The Collections of several objects section explains what Generator creates for small collections of objects and how to access them.
The Collections of many objects section explains what Generator creates for large collections of objects and how to access subsets of the collection.
The Collections of selected objects section explains what Generator creates for collections of view class objects, and how to make selections.
The Diverse and distributed collections section gives details of collections of objects of a given class or any of its derived classes, and collections that are distributed over more than one database.
See The Persistate cache for details of how Persistate caches persistent objects in memory, and the effect that this has on the in-memory object tree structure.