I have two types in my domain, say ClientData and Order Client can have multiple orders so its 1-n relation.
However, I want ClientData class, to not have Orders collection ICollection<Order> but instead to have IDictionary<Guid,OrderDTO> that is dictionary of DTOs for Order, keyed by order Id. How do I construct my mapping for that, so that I'll be able to do simply session.CreateCriteria<ClientData>().List<ClientData>(); and get all I need? thanks in advance. Krzysztof --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
