title: converting toList() throws exception Object must implement IConvertible
body: <p>I am getting this exception "<code>Object must implement IConvertible.</code>" while converting rules to tolist(). below is my code</p>
  
  <pre><code>var rules = from m in db.Rules select m;
   return rules.ToList().ToDataTable(); // exception occurs here
  </code></pre>
  
  <p>I am using MySQL 6.3.6 ..the same code is working fine with MSSQL. </p>
  
  <p>I will be grateful if someone helps me in this</p>
  
  <p>regards
  Umair</p>