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; }
public OperationCRUDEF(IRepository <Vendor> vendor, IRepository <WareHouse> wareHouse, BenchmarkDataContext ctx) { this._ctx = ctx; this._vendor = vendor; this._wareHouse = wareHouse; }
public OperationCRUDSQL(BenchmarkDataContext ctx) { this._ctx = ctx; }
public DbRepository(BenchmarkDataContext ctx) { _ctx = ctx; _table = _ctx.Set <T>(); Data = _table; }