StringLengthMaxAttribute - 10000

Nov 3, 2010 at 7:38 PM

During the reading of the code I see that the string length max attribute is targeting a 10.000 character long string.
If the string fields in sql created as nvarchar(max) there should be a way within orchard to treat Int32.MaxValue as MAX in sql to handle this situation in a proper way.
Entity Framework with Code First CTP4 it does this when creating the database based on the code first classes + mapping information.
Nov 3, 2010 at 8:55 PM

That is the NHibernate convention for infinity.

Nov 3, 2010 at 8:56 PM


That's what I did not know :-) Maybe you should add this to the comment also :-)