title: LINQ to Entities does not recognize the method and this method cannot be translated into a store expression
body: <pre><code>var ps = dbContext.SplLedgers.Select(p =&gt; new SplLedgerModel
              {
                  Name = p.Name,
                  VoucherType = Convert.ToString(((JIMS.VoucherTypes)p.VoucherType))
          });
  </code></pre>
  
  <p>I am getting the following exception, whats wrong with the code.</p>
  
  <p>JIMS.VoucherType is an enum</p>
  
  <pre><code>+       $exception  {"LINQ to Entities does not recognize the method 'System.String ToString(System.Object)' method, and this method cannot be translated into a store expression."}    System.Exception {System.NotSupportedException}
  </code></pre>