The example I gave you is working fine for me. It used to be WidthLegthOf(50) but that is old.
On Thu, Oct 1, 2009 at 2:27 AM, Paul Batum <[email protected]> wrote: > What do you mean that Length is not available? Are you sure you're using > the latest version of FNH? > > > On Mon, Sep 28, 2009 at 4:53 PM, acl123 <[email protected]> wrote: > >> >> Hi, sorry Length is not available. >> I am inheriting from ClassMap, by the way. >> >> On Sep 23, 12:13 am, Mikael Henriksson <[email protected]> wrote: >> > Id(x => x.Code).Length(50).GeneratedBy.Assigned(); >> > >> > On Tue, Sep 22, 2009 at 6:33 AM, acl123 <[email protected]> >> wrote: >> > >> > > One of my mappings is using an assigned string as its primary key: Id >> > > (x => x.Code).GeneratedBy.Assigned(); >> > >> > > How can I set the max length of the string? >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
