Example #1
0
 public IQueryable <T> GetAll()
 {
     return(context.Set <T>());
 }
 protected BaseRepository(EmployeeDataContext employeeDataContext)
 {
     EmployeeDataContext = employeeDataContext;
     DbSet = employeeDataContext.Set <T>();
 }