Properties Max. length and fixed length are ignored by the EF startup environment. DO NOT expect EF to automatically validate based on these properties.
These attributes are used by other EDM users, such as ASP.NET MVC 2.0 and ASP.NET Dynamic Data Controls, as well as to create database scripts along with the StoreGeneratedPattern property .
Another use for them is when you work at a lower level with EF; for example, when you work with the MetadataWorkspace class.
source
share