예제 #1
0
 public void Dispose()
 {
     this.dbAccess.CloseConnection();
     this.dbAccess = null;
     PMFactory.Remove(Thread.CurrentThread.ManagedThreadId);
 }
예제 #2
0
 public PersistentManager(string connectionString)
 {
     this.dbAccess = new DbAccess(connectionString);
     this.dbAccess.OpenConnection();
 }
예제 #3
0
 public PersistentManager(string databaseType, string connectionString)
 {
     this.dbAccess = new DbAccess(databaseType, connectionString);
     this.dbAccess.OpenConnection();
 }
예제 #4
0
 public PersistentManager()
 {
     this.dbAccess = new DbAccess();
     this.dbAccess.OpenConnection();
     PMFactory.AddPM(this);
 }
예제 #5
0
 public void Dispose()
 {
     this.dbAccess.CloseConnection();
     this.dbAccess = null;
     PMFactory.Remove(Thread.CurrentThread.ManagedThreadId);
 }
예제 #6
0
 public PersistentManager(string databaseType, string connectionString)
 {
     this.dbAccess = new DbAccess(databaseType, connectionString);
     this.dbAccess.OpenConnection();
 }
예제 #7
0
 public PersistentManager(string connectionString)
 {
     this.dbAccess = new DbAccess(connectionString);
     this.dbAccess.OpenConnection();
 }
예제 #8
0
 public PersistentManager()
 {
     this.dbAccess = new DbAccess();
     this.dbAccess.OpenConnection();
     PMFactory.AddPM(this);
 }