예제 #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( );
        }
예제 #3
0
 public void TestTearDown( )
 {
     TenantHelper.Flush( );
 }
예제 #4
0
 public void AfterTest( )
 {
     TenantHelper.Flush( );
 }