Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public CSendReportController(DbReportCenter db)
 {
     _db            = db;
     _communication = new ClientCommunication();
 }
Exemplo n.º 4
0
 public CViewReportController(DbReportCenter db)
 {
     _db = db;
 }
 public CViewReportController(DbCenter db, ClientCommunication cC)
 {
     _communication = cC;
     _db            = db.ReportCenter;
 }
Exemplo n.º 6
0
 public DbReportCenter()
 {
     instance = this; // skeleton patern
 }