コード例 #1
0
 /// <summary>
 /// Creates the in memory db schema using the session.
 /// </summary>
 public void SetupDB()
 {
     context.SetupDatabase(UnitOfWork.CurrentSession);
 }
コード例 #2
0
 /// <summary>
 /// Creates the in memory db schema using the session.
 /// </summary>
 /// <param name="session">An open NHibernate session.</param>
 public void SetupDB(ISession session)
 {
     context.SetupDatabase(session);
 }