views:

218

answers:

2

In NHibernate, can I use factory to build complex aggregate object (Entity)? If yes then how? If not.. then what is your approach?

A: 

Yes. If you can make the object as a POCO, you can map in to your database with NHibernate.

However, you don't actually understand exactly what you need, so please post clearer requirements and I'll be able to help you better :-)

Alun Harford
A: 

Checkout this post from Ayende where he describes creating a proxy factory to implement INotifyPropertyChanged on an entity proxy.

Mike Glenn