> You have two properties mapped to the same column.Use insert=false and > update=false in one of the two.
You refer to the Customer and Customer_Id columns I guess. Will try that! > P.S. Your mapping is a classic example of how DON'T map a class. Try to set > lazy=false and see what happen, and think when you need all thats > collections together... you are delegating some work of your BusinessLayer > to the DAL (NH). I know the performance impact of lazy loading but when I don't need all data I do lazy loading as I won't fetch data through all those properties and I use eager loading when I need all the data which is often required because we have fat xml messages between systems. Why would this be a bad design as it performs quite well :-) Grtz, Ramon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
