Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. hill = ((from company in db.Companies
  2. where x.ID_comp > company.ID_comp
  3. orderby company.ID_comp
  4. select new { id = company.ID_comp.ToString() })
  5. .Union((
  6. from company in db.Companies
  7. where x.ID_comp > company.ID_comp
  8. orderby company.ID_comp descending
  9. select new { id = company.ID_comp.ToString() })))
  10. .Select(y => y.id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement