public void OnFinalize()
 {
     if (this.database != null)
     {
         this.database.Dispose();
         this.database = null;
     }
 }
Exemple #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;
 }
Exemple #4
0
 public void OnInitialize()
 {
     this.database = new InMemoryDBForFluentMappings();
     this.Session  = this.database.Session;
 }