public virtual IEnumerable <TEntity> GetAll()
 {
     return(context.Set <TEntity>().AsQueryable());
 }
 public GenericDataRepository(FieldOrderEntities context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }