title: Entity Framework Code First MaxLength and FixedLegth (char vs varchar)
body: <p>I have an Entity Framework CodeFirst model that I'm creating from existing Database and I want to decorate some char and varchar in different way using DataAnnotations.</p>
  
  <p>Difference between char and varchar is that the Char has fixed length and varchar have variable length.</p>
  
  <p>For Varchar I'm using [Maxlength(length)] For char is this the correct way or there is a better way to define that the string property in the class is mapped as a char in the Database?</p>