예제 #1
0
 public GenericRepository(OSCDbContext _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
예제 #2
0
 public BaseRepositoryDb()
 {
     oscDbContext = new OSCDbContext();
 }
예제 #3
0
 public GenericRepository()
 {
     this._context = new OSCDbContext();
     table         = _context.Set <T>();
 }
 public CustomerDb()
 {
     OSCDbContext = new OSCDbContext();
 }