Re: [fluent-nhib] Mapping a dictionary with components

2009-12-06 Thread Martin Nilsson
x. RegionName).Name); > > > > => > > > > > > > > Inside parent ‘composite-element’ element > > > > HTH > > Morten > > > -- > > *From:* Martin Nilsson [mailto:mffmar...@gmail.com] > *Sent:*

Re: [fluent-nhib] Mapping a dictionary with components

2009-12-05 Thread Morten Maxild
y(x => x. RegionName).Name); => Inside parent ‘composite-element’ element HTH Morten _ From: Martin Nilsson [mailto:mffmar...@gmail.com] Sent: Saturday, December 05, 2009 1:32 PM To: fluent-nhibernate@googlegroups.com Subject: [fluent-nhib] Mapping a dictio

[fluent-nhib] Mapping a dictionary with components

2009-12-05 Thread Martin Nilsson
Hi, I have a dictionary field in my Product class that contains prices (Money class) per region. In other words, a dictionary containg Value Objects. I can save the prices with correct region and amount but when I read them from the database then I can't get the region name (Money.RegionName) to