This is currently broken, see issue 230:
http://code.google.com/p/fluent-nhibernate/issues/detail?id=230
<http://code.google.com/p/fluent-nhibernate/issues/detail?id=230>You could
try that patch I attached to the issue but that was quite a while ago so
there is no way of knowing if it will work or not anymore. Your best bet
might be to use a standard HBM mapping if you need a ternary relationship
for now.

On Mon, Jun 29, 2009 at 7:01 PM, mnieber <mnie...@gmail.com> wrote:

>
> I just got started with
>
> http://wiki.fluentnhibernate.org/show/GettingStarted:+First+Project
>
> and I would very much like to see an extension of this tutorial that
> shows how to map IDictionary to the database (if this is possible with
> fluent nhibernate).
>
> For example, we can imagine that in the Store class, we want to store
> the favourite Product of each Employee working in that Store.
> To this end, the Store class is extended with the property
>
>        public virtual IDictionary<Employee, Product> FavouriteProduct
> { get; set; }
>
> Can somebody tell me what I need to put in the StoreMap class to make
> this work?
>
> Thanks,
> Maarten
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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