C# Class HotelManagement.Repository.NHibernateHelper

Exibir arquivo Open project: avdevelop/hotelmanagement Class Usage Examples

Public Methods

Method Description
CloseSession ( ) : void
CloseSessionFactory ( ) : void
GetCurrentSession ( ) : ISession

Private Methods

Method Description
NHibernateHelper ( ) : System

Method Details

CloseSession() public static method

public static CloseSession ( ) : void
return void

CloseSessionFactory() public static method

public static CloseSessionFactory ( ) : void
return void

GetCurrentSession() public static method

public static GetCurrentSession ( ) : ISession
return ISession