C# Class Machine.UoW.NHibernate.ManagerSpecs.MockSessionFactory

Inheritance: ISessionFactory
Mostra file Open project: machine/machine.uow

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
Evict ( Type persistentClass ) : void
Evict ( Type persistentClass, object id ) : void
EvictCollection ( string roleName ) : void
EvictCollection ( string roleName, object id ) : void
EvictEntity ( string entityName ) : void
EvictEntity ( string entityName, object id ) : void
EvictQueries ( ) : void
EvictQueries ( string cacheRegion ) : void
GetAllClassMetadata ( ) : IClassMetadata>.IDictionary
GetAllCollectionMetadata ( ) : ICollectionMetadata>.IDictionary
GetClassMetadata ( Type persistentClass ) : IClassMetadata
GetClassMetadata ( string entityName ) : IClassMetadata
GetCollectionMetadata ( string roleName ) : ICollectionMetadata
GetCurrentSession ( ) : ISession
GetFilterDefinition ( string filterName ) : NHibernate.Engine.FilterDefinition
MockSessionFactory ( ) : System
OpenSession ( ) : ISession
OpenSession ( IDbConnection conn ) : ISession
OpenSession ( IDbConnection conn, IInterceptor sessionLocalInterceptor ) : ISession
OpenSession ( IInterceptor sessionLocalInterceptor ) : ISession
OpenStatelessSession ( ) : IStatelessSession
OpenStatelessSession ( IDbConnection connection ) : IStatelessSession

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Evict() public method

public Evict ( Type persistentClass ) : void
persistentClass System.Type
return void

Evict() public method

public Evict ( Type persistentClass, object id ) : void
persistentClass System.Type
id object
return void

EvictCollection() public method

public EvictCollection ( string roleName ) : void
roleName string
return void

EvictCollection() public method

public EvictCollection ( string roleName, object id ) : void
roleName string
id object
return void

EvictEntity() public method

public EvictEntity ( string entityName ) : void
entityName string
return void

EvictEntity() public method

public EvictEntity ( string entityName, object id ) : void
entityName string
id object
return void

EvictQueries() public method

public EvictQueries ( ) : void
return void

EvictQueries() public method

public EvictQueries ( string cacheRegion ) : void
cacheRegion string
return void

GetAllClassMetadata() public method

public GetAllClassMetadata ( ) : IClassMetadata>.IDictionary
return IClassMetadata>.IDictionary

GetAllCollectionMetadata() public method

public GetAllCollectionMetadata ( ) : ICollectionMetadata>.IDictionary
return ICollectionMetadata>.IDictionary

GetClassMetadata() public method

public GetClassMetadata ( Type persistentClass ) : IClassMetadata
persistentClass System.Type
return IClassMetadata

GetClassMetadata() public method

public GetClassMetadata ( string entityName ) : IClassMetadata
entityName string
return IClassMetadata

GetCollectionMetadata() public method

public GetCollectionMetadata ( string roleName ) : ICollectionMetadata
roleName string
return ICollectionMetadata

GetCurrentSession() public method

public GetCurrentSession ( ) : ISession
return ISession

GetFilterDefinition() public method

public GetFilterDefinition ( string filterName ) : NHibernate.Engine.FilterDefinition
filterName string
return NHibernate.Engine.FilterDefinition

MockSessionFactory() public method

public MockSessionFactory ( ) : System
return System

OpenSession() public method

public OpenSession ( ) : ISession
return ISession

OpenSession() public method

public OpenSession ( IDbConnection conn ) : ISession
conn IDbConnection
return ISession

OpenSession() public method

public OpenSession ( IDbConnection conn, IInterceptor sessionLocalInterceptor ) : ISession
conn IDbConnection
sessionLocalInterceptor IInterceptor
return ISession

OpenSession() public method

public OpenSession ( IInterceptor sessionLocalInterceptor ) : ISession
sessionLocalInterceptor IInterceptor
return ISession

OpenStatelessSession() public method

public OpenStatelessSession ( ) : IStatelessSession
return IStatelessSession

OpenStatelessSession() public method

public OpenStatelessSession ( IDbConnection connection ) : IStatelessSession
connection IDbConnection
return IStatelessSession