C# Class SpeakFriend.Utilities.NHibernateHelperSF

Show file Open project: teamaton/speak-lib

Protected Properties

Property Type Description
Logger log4net.ILog

Public Methods

Method Description
Clear ( ) : void

Clear the currently open session.

EmptyTable ( ) : void
EmptyTable ( Type type ) : void
EmptyTable ( string typeName ) : void
ExecuteFile ( string filePath ) : void
ExportSchema ( ) : void
ExportSchema ( NHibernate.Cfg.Configuration cfg ) : void
Flush ( ) : void
GetStatistics ( ) : IStatistics
GetStatisticsSession ( ) : ISessionStatistics
NHibernateHelperSF ( ISession session ) : System
RemoveFromCache ( object item ) : void
TruncateTable ( string tableName ) : void

Method Details

Clear() public method

Clear the currently open session.
public Clear ( ) : void
return void

EmptyTable() public method

public EmptyTable ( ) : void
return void

EmptyTable() public method

public EmptyTable ( Type type ) : void
type System.Type
return void

EmptyTable() public method

public EmptyTable ( string typeName ) : void
typeName string
return void

ExecuteFile() public method

public ExecuteFile ( string filePath ) : void
filePath string
return void

ExportSchema() public method

public ExportSchema ( ) : void
return void

ExportSchema() public static method

public static ExportSchema ( NHibernate.Cfg.Configuration cfg ) : void
cfg NHibernate.Cfg.Configuration
return void

Flush() public method

public Flush ( ) : void
return void

GetStatistics() public method

public GetStatistics ( ) : IStatistics
return IStatistics

GetStatisticsSession() public method

public GetStatisticsSession ( ) : ISessionStatistics
return ISessionStatistics

NHibernateHelperSF() public method

public NHibernateHelperSF ( ISession session ) : System
session ISession
return System

RemoveFromCache() public method

public RemoveFromCache ( object item ) : void
item object
return void

TruncateTable() public method

public TruncateTable ( string tableName ) : void
tableName string
return void

Property Details

Logger protected static property

protected static ILog,log4net Logger
return log4net.ILog