예제 #1
0
 public DocumentsManager(IReposirory db, IManager mng)
 {
     this.db  = db;
     this.mng = mng;
     //this.Debug = debug;
     _disposed = false;
 }
예제 #2
0
 protected virtual void Dispose(bool disposing)
 {
     if (!_disposed)
     {
         if (disposing)
         {
             if (db != null)
             {
                 db.Dispose();
             }
         }
         db        = null;
         _disposed = true;
     }
 }
예제 #3
0
 public OrderManager(IReposirory db, IManager mng)
 {
     this.db   = db;
     this.mng  = mng;
     _disposed = false;
 }
예제 #4
0
 public Manager(IReposirory db)
 {
     this.db   = db;
     _disposed = false;
 }