I\'m having trouble trying to map my EF 4.1 Code First model to a database. Everything works fine when the database match the code exactly, but when I try and map when the colum
How about using DataAnnotations?
[Key] [Column("ColID", TypeName="int")] public int DinnerID { get; set; }
You can find a full list with samples at http://msdn.microsoft.com/en-us/data/gg193958