コード例 #1
0
ファイル: GenericRepository.cs プロジェクト: rmveera/n-tier
 public GenericRepository(OSCDbContext _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
コード例 #2
0
ファイル: GenericRepository.cs プロジェクト: rmveera/n-tier
 public GenericRepository()
 {
     this._context = new OSCDbContext();
     table         = _context.Set <T>();
 }