As the title implies:
how is it possible to tell Entity Framework 4.1 in code first approach, that i do want some properties (in particular of type string) to have a le
You can use the following way If you want a Maximum string length
[StringLength(Int32.MaxValue)]
Or
[MaxLength]
Property(m => m.Title ).IsRequired().HasMaxLength(128);
[MaxLength(256)]