title: Select multiple records based on list of Id's with linq
body: <p>I have a list containing Id's of my <code>UserProfile</code> table. How can i select all <code>UserProfiles</code> based on the list of Id's i got in a <code>var</code> using <code>LINQ</code>?</p>
  
  <pre><code>var idList = new int[1, 2, 3, 4, 5];
  var userProfiles = _dataContext.UserProfile.Where(......);
  </code></pre>
  
  <p>I got stuck right here. I can do this using for loops etc. But I'd rather do this with <code>LINQ</code>.</p>