Bug :) http://code.google.com/p/fluent-nhibernate/issues/detail?id=168&q=Enum%20nullable
Patch is on there too I believe. On Wed, Jun 17, 2009 at 4:46 AM, JamesSpibey <[email protected]> wrote: > > Hi, > > For the following mapping > > Map(Function(x) x.LastConnectedService).CustomTypeIs(Of > Integer).Nullable() > > I get a mapping of > > <property name="LastConnectedService" > type="FluentNHibernate.Mapping.GenericEnumMapper`1 > [[NHS.Common.Authentication.AuthenticationServiceType, Common, > Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], > FluentNHibernate, Version=0.1.0.0, Culture=neutral, > PublicKeyToken=8aa435e3cb308880"> > <column name="LastConnectedService" not-null="false" /> > </property> > > When I would expect to see > > <property name="LastConnectedService" type="Int32"> > <column name="LastConnectedService" not-null="false" /> > </property> > > Is this a bug or have I misunderstood how it works? > > Thanks > > James > > > -- - Hudson http://www.bestguesstheory.com http://twitter.com/HudsonAkridge --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
