Hello, We are upgrading from NSB5 to NSB7. And I am a bit confused about Unit Of Work behavior.
- Are behaviors singletons or container scoped?
- How do I get access to Sql Persistence connection (outbox is enabled) in a “public class UnitOfWorkBehavior : Behavior”?
- How do I get access to my nested container instance so that I can setup my NHibernate session correctly for rest of the services in the above Unit of Work?
Thanks in advance!