Essentially I have a table with zip codes in it. The zipcode field is defined as \'char(5)\'. I\'m using code first, so I\'ve put these attributes on my ZipCode property:
Have you tried using the MaxLength attribute? This article gives a decent summary of how the various data annotation attributes are interpreted by EF.