Example #1
0
        protected void TearDown( )
        {
            if (Context != null)
            {
                Context.Dispose( );
                Context = null;
            }

            TenantHelper.Flush( );
        }
        public virtual void TestTearDown( )
        {
            using (IDbCommand command = Context.CreateCommand("ROLLBACK TRANSACTION Test"))
            {
                command.CommandType = CommandType.Text;
                command.ExecuteNonQuery( );
            }

            TenantHelper.Flush( );
        }
Example #3
0
 public void TestTearDown( )
 {
     TenantHelper.Flush( );
 }
Example #4
0
 public void AfterTest( )
 {
     TenantHelper.Flush( );
 }