Свойство | Type | Description | |
---|---|---|---|
connectionString | string |
Méthode | 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
|
Méthode | Description | |
---|---|---|
Init ( ) : void |
initializes the session for database
|
public static GetNewSession ( ) : NHibernate.ISession | ||
Résultat | NHibernate.ISession |
public static GetSessionFactory ( ) : NHibernate.ISessionFactory | ||
Résultat | NHibernate.ISessionFactory |