Свойство | Тип | Описание | |
---|---|---|---|
connectionString | string |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
Init ( ) : void |
initializes the session for database
|
public static GetNewSession ( ) : NHibernate.ISession | ||
Результат | NHibernate.ISession |
public static GetSessionFactory ( ) : NHibernate.ISessionFactory | ||
Результат | NHibernate.ISessionFactory |