title: migrating to dbcontext LINQ where clause string parameter
body: <p>I'm migrating my project from ObjectContext to DbContext and I have a problem with this sentence:</p>
  
  <pre><code>var query = db.Inventory.Where("it.IdState in {" + states + "}");
  </code></pre>
  
  <p>This works with ObjectContext but now I get an error at compilation time:</p>
  
  <pre><code>Error   CS1503  Argument 2: cannot convert from 'string' to 'System.Linq.Expressions.Expression&lt;System.Func&lt;Test.DAL.Inventory, bool&gt;&gt;' 
  </code></pre>
  
  <p>Seems not to be posible to do this now, I tryied to expose ObjectContext to do it, but I couldn't find the way</p>
  
  <p>Any idea?
  Thank!</p>