public void OnFinalize()
 {
     if (this.database != null)
     {
         this.database.Dispose();
         this.database = null;
     }
 }
Example #2
0
 public void OnFinalize()
 {
     if (this.database != null)
     {
         this.database.Dispose();
         this.database = null;
     }
 }
 public void OnInitialize()
 {
     this.database = new InMemoryDBForFluentMappings();
     this.Session = this.database.Session;
 }
Example #4
0
 public void OnInitialize()
 {
     this.database = new InMemoryDBForFluentMappings();
     this.Session  = this.database.Session;
 }