This question is locked. New answers and comments are not allowed.
When i was using NHibernate and Linq to SQL I've created database fixture, which rollbacks database changes
after each test.
public class DatabaseFixture : IDisposable
private readonly TransactionScope transactionScope;
transactionScope = new TransactionScope(TransactionScopeOption.RequiresNew);
#region IDisposable Members
public void Dispose()
But now it doesn't rollbacks changes made on object scope transaction commit. Any ideas how to get it work =)