Click or drag to resize

SessionNoServer Class

Use this session class when Database level locking is acceptable and Databases are local or reachable by UNC paths.
Inheritance Hierarchy

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 8.1.3.0 (8.1.4.0)
Syntax
public class SessionNoServer : SessionBase, 
	IDisposable

The SessionNoServer type exposes the following members.

Constructors
  NameDescription
Public methodSessionNoServer
Creates a new session. For a thread safe version of this class, use SessionNoServerShared
Top
Properties
  NameDescription
Public propertyAssumeLocalHost
SessionNoServer ignores DatabaseLocation HostName since it cannot connect to a VelocityDbServer.
(Overrides SessionBaseAssumeLocalHost.)
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodExportToCSV
Export all persistent objects to .csv files, one file for each Type and version of Type. This is preview release, format may change. ImportFromCSV can be used to recreate your data. Note that Microsoft Excel can't handle many of these CSV files due to a field value limitation (at about 33000 chars) Notepad++ is one application that can read these files. Some fields like array data are encoded http://msdn.microsoft.com/en-us/library/dhx0d524(v=vs.110).aspx
(Defined by ImportExportCsv.)
Public Extension MethodExportToJsonT(UInt64)Overloaded. (Defined by JsonImportExport.)
Public Extension MethodExportToJsonT(Oid)Overloaded. (Defined by JsonImportExport.)
Public Extension MethodExportToJsonT(Boolean, Boolean)Overloaded. (Defined by JsonImportExport.)
Public Extension MethodImportFromCSV
Restores database files, pages and objects from a .csv file data created with ExportToCSV
(Defined by ImportExportCsv.)
Public Extension MethodImportJsonT (Defined by JsonImportExport.)
Public Extension MethodMicrosoftSync (Defined by Sync.)
Public Extension MethodSyncWith(SessionBase)Overloaded. (Defined by Sync.)
Public Extension MethodSyncWith(SessionBase, FuncSessionBase, UInt64, Change, Boolean)Overloaded. (Defined by Sync.)
Top
See Also