I see ! So I was making thing more complicated.... Out of interest, do you know what the error I get means ? I won't keep that code and I will let NH find the type by itself, but I just wondered what was wrong in my mapping.
Thanks to both of you On 20 mai, 21:17, Tuna Toksoz <tehl...@gmail.com> wrote: > IF you use EnumString then it will be a string(nvarchar) in database, > otherwise it will use int as enum. > > Tuna Toksöz > Eternal sunshine of the open source mind. > > http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitter.com/tehlike > > On Wed, May 20, 2009 at 6:38 PM, graphicsxp <graphic...@googlemail.com>wrote: > > > > > What is wrong with my mapping ? I have imported a reference to > > NHibernate in my project and the EnumStringType exists. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---