Dispose() public méthode

public Dispose ( ) : void
Résultat void
Exemple #1
0
        public void CleanUp()
        {
            if (TestDatabase == null)
            {
                return;
            }

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

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

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

            TestDatabase.CleanupDataBase();
            TestDatabase.Dispose();
        }
 public void TearDown()
 {
     TestDatabase.Dispose();
 }