Click or drag to resize

VelocityDb Namespace

The VelocityDb name space contains classes for the VelocityDB Object Database.
Classes
  ClassDescription
Public classAllObjectsT
Public classAllObjectsTAllObjectsIterator
Public classAllObjectsExtension
A few extensions to improve performance of Linq for Objects queries
Public classAutoPlacement
This is the placement manager of objects persisted using Persist(Object), it is automatically created when the first object of a type is persisted. It is the first object in the database of each type mapped Database.
Public classDatabase
Represents a Database which corresponds to file system file.
Public classDatabaseLocation
Represents a host and a directory in which a range of databases are stored. The range is a database number range.
Public classDatabaseLocations
Maintains collections of all existing DatabaseLocations.
Public classDataCache
Object maintains a list of pages accessed by a session, pages are removed from the list when there is not enough memory available. This makes such pages eligible for garbage collection while in list pages are prevented from being garbage collected.
Public classLicense
Contains a list of possible license attributes for licensing VelocityDb class library and server
Public classOfType
Public classOfTypeOfTypeIterator
Iterator for type OfType
Public classOfTypeExtension
A few extensions to improve performance of Linq for Objects queries
Public classOptimizedPersistable
Base class for all persistent capable classes except for embedded objects which do not need to be subclasses of this class.
Public classPage
Each Database consist of a number of variable sized pages. A page can be compressed and may be encrypted and contains one or more objects. Page compression is controlled by the DatabaseLocation of the Database containing a page. Each page has a PageInfo that provides info about a page and can be updated to turn on/off compression and encryption for a specific page.
Public classPageCache
Maintains string references to Pages within a Database
Public classPageInfo
Each Page has a PageInfo that provides info about a page and can be used to turn on/off compression and encryption for a page.
Public classPageOffset
Internally Used within VelocityDB and its extensions
Public classPlacement
This class is used when deciding where to place a new object persistently. That is we have a choice of database number, page number and page number. There is other ways to control the placement including ObjectsPerPage, PagesPerDatabase, and it is also possible to override Persist(Placement, SessionBase, Boolean, Boolean, QueueIOptimizedPersistable).
Public classReferenceTracked
Tracks references to this object and signals ReferentialIntegrityException if unpersisted before while still being referenced.
Public classWeakIOptimizedPersistableReferenceT
When a persistent object is opened, all its referenced objects are opened as well. In order to limit the number of opened objects, you need to use this class. A reference from an instance of this class will not cause the referenced object to be opened. It will be opened when you ask for it.
Public classWeakIOptimizedPersistableReferenceBase
This is the base class for all weak references.
Public classWeakIOptimizedPersistableReferenceXT Obsolete.
Deprecated, use WeakIOptimizedPersistableReference instead (so name conflict can be avoided) When a persistent object is opened, all its referenced objects are opened as well. In order to limit the number of opened objects, you need to use this class. A reference from an instance of this class will not cause the referenced object to be opened. It will be opened when you ask for it. The Type of the weak referenced object, must be OptimizedPersistable
Structures
  StructureDescription
Public structureOid
The object identifier containing a 32 bit database part, a 16 bit page part and a 16 bit page part. These parts are combined into a 64bit unsigned number Id.
Public structureOidShort
The short object identifier containing a 16 bit page part and a 16 bit page part. This is used for short references within a single databases.
Interfaces
  InterfaceDescription
Public interfaceIOptimizedPersistable
add optimized persistence by implementing this interface. We provide OptimizedPersistable as a base class that implements this interface.
Public interfaceIReferenceTracked
Maintains a set of all References to this object
Enumerations
  EnumerationDescription
Public enumerationCacheEnum
Choices for object caching
Public enumerationOpFlags
Flag bits for a persistent object
Public enumerationPageInfocompressionKind
Selection of choices foe Page compression.
Public enumerationPageInfoencryptionKind
Use desEncrypted for encrypted pages, set encryption private key in DatabaseLocation. Use noEncryption when no encryption is desired. Other choices in this enum are not yet publicly available. Other kinds of encryption can be provided upon request. We can even make the interface public allowing application defined encryption.