Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. var result = from u in this.DataContext.Users
  2. join l in DataContext.Locations on u.Id equals l.userId
  3. where
  4. u.active == 1
  5. select u;
  6. return result ;
  7.  
  8. where u.Id in (SELECT userId from approved_users)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement