VelocityDb.Session Namespace |
Class | Description | |
---|---|---|
ReplicaInfo |
Specifies a location for a replica of primary DatabaseLocation containing at least the system databases (0.odb, 1.odb, 2.odb ...)
| |
ServerClientSession | ||
ServerClientSessionShared |
Use as a shared session for multiple reader threads connected to one or more VelocityDBServer(s).
| |
SessionBase |
Transaction control, database creation and special persistent object api.
Each session can use 4,294,967,295 Databases. Each Database may have up to 65,535 Pages and a page can be up to 2 GB in size (.Net restriction of a byte array).
The maximum data size a single session can manage is: 4,294,967,295 * 65,535 * 2147483648 = 604453686294542391705600 bytes or about half a Yottabyte http://en.wikipedia.org/wiki/Yottabyte
| |
SessionBaseTransaction |
Helper object to enable automatic rollback/abort of transaction if transaction isn't committed within it's scope.
| |
SessionNoServer | ||
SessionNoServerShared |
Same as SessionNoServer but SessionNoServerShared is thread safe so it can be shared between threads.
| |
SessionPool |
Provides a pool of sessions for reuse instead of creating new session instances every time a session is needed.
The pooled sessions includes cached databases, pages and objects.
Keep the pool size to a minimum too avoid excessive memory usage.
| |
TypeExtensions |
Some extensions to Type
|