daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Oct 12th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
Top