Dispose() public method

public Dispose ( ) : void
return void
Example #1
0
        public void CleanUp()
        {
            if (TestDatabase == null)
            {
                return;
            }

            TestDatabase.CleanupDataBase();
            TestDatabase.Dispose();
        }
Example #2
0
        public void CleanUp()
        {
            if (TestDatabase == null)
            {
                return;
            }

            TestDatabase.CleanupDataBase();
            TestDatabase.Dispose();
            InMemoryRideSharkTestDataset = new List <RideSharkTestData>();
        }
Example #3
0
        public void CleanUp()
        {
            if (TestDatabase == null)
            {
                return;
            }

            if (!NoTransaction)
            {
                Database.AbortTransaction();
            }

            TestDatabase.CleanupDataBase();
            TestDatabase.Dispose();
        }
Example #4
0
 public void TearDown()
 {
     TestDatabase.Dispose();
 }