예제 #1
0
 public DbCenter()
 {
     _instance    = this;
     clientDb     = new clientContainer();
     ReportCenter = new DbReportCenter(clientDb);
     UserCenter   = new DbUserCenter(clientDb);
 }
 public CSendReportController(DbCenter db, ClientCommunication cC)
 {
     _db            = db.ReportCenter;
     _communication = cC;
 }
예제 #3
0
 public CSendReportController(DbReportCenter db)
 {
     _db            = db;
     _communication = new ClientCommunication();
 }
예제 #4
0
 public CViewReportController(DbReportCenter db)
 {
     _db = db;
 }
 public CViewReportController(DbCenter db, ClientCommunication cC)
 {
     _communication = cC;
     _db            = db.ReportCenter;
 }
예제 #6
0
 public DbReportCenter()
 {
     instance = this; // skeleton patern
 }