public void SaveChanges() { var transaction = _connection.BeginTransaction(); var ant = new AdoNetTransactions(transaction, RemoveTransaction, RemoveTransaction); ant.SaveChanges(); }
private void RemoveTransaction(AdoNetTransactions obj) { _rwLock.EnterWriteLock(); _ants.Remove(obj); _rwLock.ExitWriteLock(); }