protected override void DoSetUp()
        {
            MsSqlTestHelper.DropTable("Events");

            _eventStore = new MsSqlEventStore(MsSqlTestHelper.ConnectionString, "Events");

            _globalSequenceNumber = 0;
        }
Пример #2
0
        public MsSqlEventStoreFactory()
        {
            MsSqlTestHelper.EnsureTestDatabaseExists();

            var connectionString = MsSqlTestHelper.ConnectionString;
            
            MsSqlTestHelper.DropTable("events");

            _eventStore = new MsSqlEventStore(connectionString, "events");
            
            _eventStore.DropEvents();
        }