title: Return list of models passing in a List of ids using repository pattern
body: <p>I'm using the repository with the Unit of work pattern based on: </p>
  
  <p><a href="http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application" rel="nofollow">http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application</a></p>
  
  <p>Their Get function looks like:</p>
  
  <pre><code> public virtual IEnumerable&lt;TEntity&gt; Get(
              Expression&lt;Func&lt;TEntity, bool&gt;&gt; filter = null,
              Func&lt;IQueryable&lt;TEntity&gt;, IOrderedQueryable&lt;TEntity&gt;&gt; orderBy = null,
              string includeProperties = "")
  </code></pre>
  
  <p>Now I want to get a List of rows as an output.  </p>
  
  <p>The query will also have a WHERE IN clause like:</p>
  
  <pre><code>SELEcT *
  FROM ...
     INNER JOIN ...
  WHERE homeId in (select homeId ....)
  </code></pre>
  
  <p>I have the list of home ids:</p>
  
  <pre><code>List&lt;int&gt; homeIdList = ...
  </code></pre>
  
  <p>How can I build this query using the Get method above?</p>
  
  <pre><code>Get(x =&gt; x.Id == cityId, includeProperties: "CityBlock, CityBlock.Homes")
  </code></pre>
  
  <p>The above is a query that is similiar to what I want, but I want to limit the Homes to be where their id is in the List homeIdList.</p>
  
  <p>Possible?</p>