Example #1
0
        /// <summary>
        /// Deletes all existing commits from the event store.
        /// </summary>
        public void Purge()
        {
            eventStore.Purge();

            statistics.IncrementDeleteCount();
        }
 public void Dispose()
 {
     EventStore.Purge();
 }
 internal UsingInitializedEventStore()
 {
     EventStore = new SqlEventStore(new SqlEventStoreDialect(SqlServerConnection.Name), new BinarySerializer(), new EventStoreSettings());
     EventStore.Purge();
 }
 internal UsingInitializedEventStore()
 {
     EventStore = new SqlEventStore(new SqlEventStoreDialect(SqlServerConnection.Name), new BinarySerializer(), new EventStoreSettings());
     EventStore.Purge();
 }