C# Class UnitTests.VelocityDB

ファイルを表示 Open project: VelocityDB/VelocityDB

Public Methods

Method Description
ReturnSessionToCache ( ServerClientSession pSession ) : void

Returns a session to the cache.To be sure we have no transactions active we abort in case the caller of this method did not commit or abort

Private Methods

Method Description
CachedSessionTest ( ) : void
GetCachedSession ( ) : ServerClientSession

Gets a cached session.If no session is available in the cache, a new one will be created.

GetDBDIrectory ( ) : string

Method Details

ReturnSessionToCache() public method

Returns a session to the cache.To be sure we have no transactions active we abort in case the caller of this method did not commit or abort
public ReturnSessionToCache ( ServerClientSession pSession ) : void
pSession ServerClientSession
return void