title: LINQ to Entities does not recognize the method 'System.DateTime ToDateTime(System.String)' method
body: <p>I am trying to convert one application to EntityFrameWork codefirst.
  My present code is</p>
  
  <pre><code> string sFrom  ="26/12/2013";
   select * FROM Trans where  CONVERT(datetime, Date, 105) &gt;=   CONVERT(datetime,'" + sFrom + "',105) 
  </code></pre>
  
  <p>And i tried </p>
  
  <pre><code> DateTime dtFrom = Convert.ToDateTime(sFrom );
  TransRepository.Entities.Where(x  =&gt;Convert.ToDateTime(x.Date) &gt;= dtFrom) 
  </code></pre>
  
  <p>But I got an error like this</p>
  
  <blockquote>
    <p>LINQ to Entities does not recognize the method 'System.DateTime
    ToDateTime(System.String)' method</p>
  </blockquote>
  
  <p>Please help
  Thanks in advance</p>