On Thursday, September 15, 2011 10:47:05 AM UTC-4, mbd-team wrote: > > Maybe you can use this baseclass this time AND the net time ;-) > > > > > http://darrell.mozingo.net/2009/02/10/generic-nhibernate-user-type-base-class/ > > > I followed your example, but could not make it work. I don't seem to have the To method like you have in MoneyUserType:
var amount = NHibernateUtil.Decimal.NullSafeGet(rs, names[0]).To<decimal?>(); Also, do you have an example showing how you consume your custom type? How come I don't have this To<T> method like you do? -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To view this discussion on the web visit https://groups.google.com/d/msg/fluent-nhibernate/-/I0JML0-64bgJ. 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.
