private void PerformBegin() { qc?.Close(); qc = new QueryChunk(); qc.Begin(); BeginButton.IsEnabled = false; CommitButton.IsEnabled = true; RollbackButton.IsEnabled = true; }