Example #1
0
 private IDBOperations GetDBOperations()
 {
     if (dBOperations == null)
     {
         dBOperations = new UserDBOperations();
     }
     return(dBOperations);
 }
 public DBOperationsDecorator(IDBOperations dBOperations)
 {
     this.dBOperations = dBOperations;
 }
Example #3
0
 public AWSOrders(IConnection iconnection, IReportProcess ireportProcess, IDBOperations idBOperations)
 {
     _iConnection    = iconnection;
     _iReportProcess = ireportProcess;
     _iDbOperations  = idBOperations;
 }
Example #4
0
 public LoggerDecorator(IDBOperations dBOperations) : base(dBOperations)
 {
 }
Example #5
0
 public ProductController()
 {
     dBOperations = DBOperations.Instance();
 }
 EmployeesController()
 {
     getFactoryInstance = new DB();
     getData            = getFactoryInstance.getDBInstance();
 }