프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |