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