title: Store byte array using Entity Framework 4, MySQL and code first?
body: <p>Hey I'm trying to store a simple <code>byte[]</code> using EF 4 MySQL (newest connector) and code-first approach.</p>
  
  <p>Simply doing:</p>
  
  <pre><code>public byte[] Thumbnail {get; set;}
  </code></pre>
  
  <p>gives me the following error upon creation:</p>
  
  <blockquote>
    <p>You have an error in your SQL syntax; check the manual that
    corresponds to your MySQL server version for the right syntax to use
    near</p>
  </blockquote>
  
  <p>And then it points to what comes right after my <code>byte[]</code> declaration.</p>
  
  <p>Anyone got any quick tips for me?</p>