Hello! I'm trying to follow this article http://nhforge.org/wikis/howtonh/contextual-data-using-nhibernate-filters.aspx to implement a contextual aware class. Being pretty new to NHibernate I'm feeling I'm in way over my head.
In my application I have a Student. The student has several addresses, one for each customer (since customers shares students but they do not share the addresses). So I end up with something looking like this: Student.Addresses , which is a List of Addresses I would like to have this: Student.Address Where address is contextual depending on a customerId. Am I on the right track following the above article? In the article the class Cat is contextualized, in my scenario would that translate to the class Address? If so, it doesn't make sense to me to add a property "Context" to the Address(Cat) class when I would like to have that property in the Student class. I'm just having trouble tying it all together using my scenario. Any help would be greatly appreciated.
-- 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.
