title: Entity Framework Hitting 2100 Parameter Limit
body: <p>I'm migrating some of our code from LINQ-to-SQL to Entity Framework. Previously, when run up against a 2100 parameter limit from SQL Server (described <a href="https://stackoverflow.com/questions/656167/hitting-the-2100-parameter-limit-sql-server-when-using-contains">here</a>), I used the solution provided by Marc Gravell <a href="https://stackoverflow.com/questions/567963/linq-expression-to-return-property-value/568771#568771">here</a>. As stated in his own response, it does not work with Entity Framework.</p>
  
  <p>I'm entirely too inexperienced with Expressions to know where to begin, but what I'm looking for is essentially the same extension method but applicable to Entity Framework. Thanks in advance for any help you can provide.</p>