[SetUp]
public void Initialize() {
new BurrowFramework().InitWorkSpace();
}
[TearDown]
public void Close() {
new BurrowFramework().CloseWorkSpace();
I guess Burrow is just for asp.net (web apps), am I wrong?
Is there any example of burrow conversation+transaction in windows forms application????
I found how to do it. Implement IInterceptorFactory and provide the full class name to the implementation in the burrow configuration:
<add name="PersistenceUnit1" nh-config-file="NHibernate.cfg.xml" interceptorFactory="xxx.ConfigurableProducts.DataAccess.InterceptorFactory, xxx.ConfigurableProducts.DataAccess" />
Hi!
I'm trying out Burrow on an existing project of mine. I have an IInterceptor implementation that I need to add somehow to the hibernate configuration object or pass to the session factory when a session is opened. How do I do that with Burrow?