[fluent-nhib] Re: ArgumentOutOfRangeException : Index was out of range.

2009-03-06 Thread Jan Van Ryswyck
pping: Component(catalogItem => catalogItem.Manufacturer, m => m.Map(manufacturer => manufacturer.Name, "Manufacturer")); Another lesson learned. On 28 feb, 01:04, Jan Van Ryswyck wrote: > Hi, > > I'm getting this weirdArgumen

[fluent-nhib] ArgumentOutOfRangeException : Index was out of range.

2009-02-27 Thread Jan Van Ryswyck
Hi, I'm getting this weird ArgumentOutOfRangeException whenever I use the PersitenceSpecification class for verifying an entity that has a reference to a value object. public class CatalogItem : DomainEntity { internal virtual Manufacturer Manufacturer { get; private set; }

[fluent-nhib] Re: Reveal for double, int, ...

2009-01-30 Thread Jan Van Ryswyck
Works like a charm. Again, thanks a lot. On 30 jan, 13:39, Jan Van Ryswyck wrote: > Thx, I'll try it later on. > > On Jan 29, 11:42 pm, James Gregory wrote: > > > Just committed a fix for this, let me know if you have any more problems. > > > On Wed, Jan 28, 2

[fluent-nhib] Re: Reveal for double, int, ...

2009-01-30 Thread Jan Van Ryswyck
Thx, I'll try it later on. On Jan 29, 11:42 pm, James Gregory wrote: > 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 > > wrote: > > > Wow, you're fast. Happy bug hunting and keep

[fluent-nhib] Re: Reveal for double, int, ...

2009-01-28 Thread Jan Van Ryswyck
Wow, you're fast. Happy bug hunting and keep up the good work. :-) On 29 jan, 00:37, James Gregory wrote: > Very interesting. That's a bug. Added to the list :) > > On Wed, Jan 28, 2009 at 11:23 PM, Jan Van Ryswyck > > wrote: > > > Whenever I try to use the R

[fluent-nhib] Reveal for double, int, ...

2009-01-28 Thread Jan Van Ryswyck
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 { ge