Just committed a fix for this, let me know if you have any more problems.

On Wed, Jan 28, 2009 at 11:40 PM, Jan Van Ryswyck <jan.van.rysw...@gmail.com
> wrote:

>
> Wow, you're fast. Happy bug hunting and keep up the good work. :-)
>
>
> On 29 jan, 00:37, James Gregory <jagregory....@gmail.com> wrote:
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to