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