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.
This is to take advantage of auto parameterization. The following article explains the general concept as well as why specifically nvarchar(4000) is used.
http://msdn.microsoft.com/en-us/magazine/ee236412.aspx