public void BeginTransactionAlreadyStartedError() { using (DataServer database = new SpeciesObservationServer()) { database.BeginTransaction(); database.BeginTransaction(); } }
public void BeginTransaction() { using (DataServer database = new SpeciesObservationServer()) { database.BeginTransaction(); } }
public void HasPendingTransaction() { using (DataServer database = new SpeciesObservationServer()) { Assert.IsFalse(database.HasPendingTransaction()); database.BeginTransaction(); Assert.IsTrue(database.HasPendingTransaction()); } }