コード例 #1
0
 public void BeginTransactionAlreadyStartedError()
 {
     using (DataServer database = new SpeciesObservationServer())
     {
         database.BeginTransaction();
         database.BeginTransaction();
     }
 }
コード例 #2
0
 public void BeginTransaction()
 {
     using (DataServer database = new SpeciesObservationServer())
     {
         database.BeginTransaction();
     }
 }
コード例 #3
0
 public void HasPendingTransaction()
 {
     using (DataServer database = new SpeciesObservationServer())
     {
         Assert.IsFalse(database.HasPendingTransaction());
         database.BeginTransaction();
         Assert.IsTrue(database.HasPendingTransaction());
     }
 }