Esempio n. 1
0
 public SqlController(BenchmarkDataContext ctx, IRepository <TestHistory> repositoryHistory, IRepository <Vendor> repositoryVendor, OperationCRUDSQL operationCRUDSQL, IServiceFroWorkWithDB serviceFroWorkWithDB)
 {
     this._serviceFroWorkWithDB = serviceFroWorkWithDB;
     this._operationCRUDSQL     = operationCRUDSQL;
     this._repositoryHistory    = repositoryHistory;
     this._repositoryVendor     = repositoryVendor;
 }
Esempio n. 2
0
 public OperationCRUDEF(IRepository <Vendor> vendor, IRepository <WareHouse> wareHouse, BenchmarkDataContext ctx)
 {
     this._ctx       = ctx;
     this._vendor    = vendor;
     this._wareHouse = wareHouse;
 }
Esempio n. 3
0
 public OperationCRUDSQL(BenchmarkDataContext ctx)
 {
     this._ctx = ctx;
 }
Esempio n. 4
0
 public DbRepository(BenchmarkDataContext ctx)
 {
     _ctx   = ctx;
     _table = _ctx.Set <T>();
     Data   = _table;
 }