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(); } }
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(); } }