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