Exemplo n.º 1
0
        private void PerformExecute()
        {
            var openNew = !(null != qc && qc.TransactionAlreadyBegun);

            if (openNew)
            {
                qc = new QueryChunk();
                qc.Open();
            }

            qc.AddCommand(QueryInput.Text);
            qc.Execute();
            if (openNew)
            {
                qc.Close();
            }
        }