title: Linq query using list or array of ids
body: <p>I am having trouble figuring out how to query a db using linq in c# to get all the objects corresponding to a list or array of ids and put them in a list. For example:</p>
  
  <p>I have a table of items. I want to build a method that retrieves all the items whose ids are in a passes array or list. I have googled it but it always assumes i just want to query against a list or array rather than query USING a list or array.</p>
  
  <p>Thanks in advance.</p>