Nhibernate, mapping as (n)varchar max ?
- by Quandary
Question: In nHiberne, I map a string like this:
[NHibernate.Mapping.Attributes.Property(Name = "MLST_Description", Type = "String", Length = 400)]
which maps string to nvarchar(400)
This one
[NHibernate.Mapping.Attributes.Property(Name = "MLST_Description", Type = "String")]
maps to nvarchar(255)
But how can I map to nvarchar(max) ?