Property | Type | Description | |
---|---|---|---|
connectionString | string |
Method | Description | |
---|---|---|
GetNewSession ( ) : NHibernate.ISession |
creates a database connection and opens up a session
|
|
GetSessionFactory ( ) : NHibernate.ISessionFactory |
checks wheteher the session already exists. if not then creates it
|
Method | Description | |
---|---|---|
Init ( ) : void |
initializes the session for database
|
public static GetNewSession ( ) : NHibernate.ISession | ||
return | NHibernate.ISession |
public static GetSessionFactory ( ) : NHibernate.ISessionFactory | ||
return | NHibernate.ISessionFactory |