Hi,

I have a base class Post from which two other classes inherit, CGMPost
and MSMPost.

In the mapping file the three of them have a different discriminator
value for nhibernate to be able to distinguish them.

I have 3 dao objects CGMPostDao, MSMPostDao and PostDao.

In PostDao I have a loadAll which returns a list of Post entities. But
what I would like is that it returns ALL type of posts, regardless
their type. Otherwise that means I need to have a loadAll method in my
other Dao's too.

Is that the only thing I can do or am I missing something here ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to