示例#1
0
 public GenericRepository(CordnersEntities _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
示例#2
0
 public GenericRepository()
 {
     this._context = new CordnersEntities();
     table         = _context.Set <T>();
 }