That's odd... shouldn't r368 contain the fix, then? WithLengthOf()
doesn't have any affect on my field definitions.

Martin, what sort of mapping configuration were you using? Fluent or
Auto? I'm using Auto...


On Mar 5, 12:28 am, Martin Nilsson <mffmar...@gmail.com> wrote:
> Without checking if it was fixed after your version but there was a fix for
> this
>
> http://groups.google.com/group/fluent-nhibernate/browse_thread/thread...
>
> On Wed, Mar 4, 2009 at 6:12 PM, ComradeF <comra...@gmail.com> wrote:
>
> > A quick link back to the only information I've found on this so far:
>
> >http://groups.google.com/group/fluent-nhibernate/browse_thread/thread...
>
> > For reference, this is r368...
>
> > I am using AutoMappings to generate my schema, and quite a few of my
> > fields are strings represented by nvarchar(255). This is fine for most
> > of them, but I need the ability to use nvarchar(max). I can't for the
> > life of me figure out how to get that into the schema.
>
> > Here's what I thought was supposed to do the trick, based on what I've
> > read (this is in the map class):
>
> > Map(x => x.Value)
> >   .WithLengthOf(10000);
>
> > That's still producing nvarchar(255), though. What did I miss?
>
> > By the way, thanks for this great interface. I'm new to NHibernate and
> > this has made me a lot more comfortable with the framework.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to