Very interesting. That's a bug. Added to the list :) On Wed, Jan 28, 2009 at 11:23 PM, Jan Van Ryswyck <jan.van.rysw...@gmail.com > wrote:
> > Whenever I try to use the Reveal functionality on a double or an int, > I get the following exception: > > Expression of type 'System.Double' cannot be used for return type > 'System.Object' > > Here's a snippet of my code: > > public class CatalogItem : DomainEntity > { > private Double Price { get; set; } > > protected CatalogItem() > {} > > } > > public class CatalogItemMapping : ClassMap<CatalogItem> > { > public CatalogItemMapping() > { > Id(catalogItem => catalogItem.Id); > Map(Reveal.Property<CatalogItem>("Price")); > } > } > > Any thoughts? > > Thanks in advance. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---