title: LINQ to Entities does not recognize the method 'Int32 ToInt32(System.String)' method, and this method cannot be translated into a store expression
body: <p>I get this error when I try this code : </p>
  
  <pre><code>TaxiEntities db = new TaxiEntities();
  bool IsUserPassCorrected = db.tblOperators.Any(item =&gt; item.UserName.ToLower() == txtUserName.Text.ToLower() &amp;&amp;
  item.Password == Convert.ToInt32(txtPassWord.Text));
  
  if (!IsUserPassCorrected)
  {
      MessageBox.Show("Username or Password is incorrected! Please try again");
  }
  </code></pre>