public Locating_an_existing_saga() { _provider = new SQLiteSessionFactoryProvider(false, typeof(SimpleSagaMap)); _sessionFactory = _provider.GetSessionFactory(); _sagaRepository = new Lazy<ISagaRepository<SimpleSaga>>(() => new NHibernateSagaRepository<SimpleSaga>(_sessionFactory)); }
public Locating_an_existing_saga() { _provider = new SQLiteSessionFactoryProvider(false, typeof(SimpleSagaMap)); _sessionFactory = _provider.GetSessionFactory(); _sagaRepository = new Lazy <ISagaRepository <SimpleSaga> >(() => new NHibernateSagaRepository <SimpleSaga>(_sessionFactory)); }