示例#1
0
        protected override void TearDown()
        {
            worker.DropTable(connection);

            connection.Close();
            connection = null;
        }
示例#2
0
        protected override void SetUp()
        {
            string host             = TestSettings.GetString("HOST", "localhost");
            string connectionString = "HOST=" + host + ";UID=dba;PWD=dba;";

            connection = new VirtuosoConnection(connectionString);
            connection.Open();

            worker = new Worker();
            worker.DropTable(connection);
            worker.CreateTable(connection);
        }
		protected override void SetUp ()
		{
			string host = TestSettings.GetString ("HOST", "localhost");
			string connectionString = "HOST=" + host + ";UID=dba;PWD=dba;";
			connection = new VirtuosoConnection (connectionString);
			connection.Open ();

			worker = new Worker ();
			worker.DropTable (connection);
			worker.CreateTable (connection);
		}