> > the domain event example is independent of any NH code. you could have 1 or > 100 session factories or even session. it wouldn't matter. resolving the > handlers with the correct session/factory may be an issue, but that is not > the concern of the domain events. that's a concern of the container properly > resolving components.
The domain events example works with a static class and you cannot detect to which repository (ISessionFactory) an object belongs AFAIK. But still, it is a rather nice solution for most situations but not in mine. -- 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.
