title: System.Data.EntitySqlException: The argument types 'Edm.String' and 'Edm.Int32' are incompatible for this operation
body: <p>I had to change the data type of one parameter in my query and now I am getting the error message outlined in the title of this message.  I've been trying to figure out what the problem is and it the only thing I can come up with is that since one parameter of the query is a number and the other a string, this is causing the problem.  Unfortunatly I'm very new to the entity framework and don't know how to adjust my query to fix this problem</p>
  
  <p>Here is the query I am using:</p>
  
  <pre><code>var Item = (DataContextFactory.GetDataContext().Items.Include("Category")
                   .Where("it.CategoryID == " + categoryId + " &amp;&amp; it.itemID == " +
                   itemId)).SingleOrDefault();
  </code></pre>