internal UsingInitializedSnapshotStore(Boolean replaceExisting, Boolean async) { SnapshotStore = new SqlSnapshotStore(new SqlSnapshotStoreDialect(SqlServerConnection.Name), new BinarySerializer(), new SnapshotStoreSettings { Async = async, ReplaceExisting = replaceExisting }); SnapshotStore.Purge(); }
public void Dispose() { SnapshotStore.Purge(); }
internal UsingInitializedSnapshotStore(Boolean replaceExisting, Boolean async) { SnapshotStore = new SqlSnapshotStore(new SqlSnapshotStoreDialect(SqlServerConnection.Name), new BinarySerializer(), new SnapshotStoreSettings { Async = async, ReplaceExisting = replaceExisting }); SnapshotStore.Purge(); }
/// <summary> /// Deletes all existing snapshots from the snapshot store. /// </summary> public void Purge() { snapshotStore.Purge(); statistics.IncrementDeleteCount(); }