C# Class Db4oFramework.SessionFactoryBase

Inheritance: ISessionFactory
Mostra file Open project: jhicks/Db4oFramework

Public Methods

Method Description
Bind ( ISession session ) : void
Dispose ( ) : void
GetCurrentSession ( ) : ISession
HasBoundSession ( ) : bool
OpenSession ( ) : ISession
TryGetCurrentSession ( ISession &session ) : bool
Unbind ( ) : ISession

Protected Methods

Method Description
DoDisposal ( ) : void
OpenClient ( ) : IObjectContainer
SessionFactoryBase ( ICurrentSessionContext currentSessionContext ) : Db4objects.Db4o

Method Details

Bind() public method

public Bind ( ISession session ) : void
session ISession
return void

Dispose() public method

public Dispose ( ) : void
return void

DoDisposal() protected method

protected DoDisposal ( ) : void
return void

GetCurrentSession() public method

public GetCurrentSession ( ) : ISession
return ISession

HasBoundSession() public method

public HasBoundSession ( ) : bool
return bool

OpenClient() protected abstract method

protected abstract OpenClient ( ) : IObjectContainer
return IObjectContainer

OpenSession() public method

public OpenSession ( ) : ISession
return ISession

SessionFactoryBase() protected method

protected SessionFactoryBase ( ICurrentSessionContext currentSessionContext ) : Db4objects.Db4o
currentSessionContext ICurrentSessionContext
return Db4objects.Db4o

TryGetCurrentSession() public method

public TryGetCurrentSession ( ISession &session ) : bool
session ISession
return bool

Unbind() public method

public Unbind ( ) : ISession
return ISession