/// <summary> /// Ends the batch connection. /// </summary> public void EndBatchConnection() { batchCommander.Close(); CloseConnection(batchConnection); batchConnection = null; batchCommander = null; }
/// <summary> /// 关闭 /// </summary> public void Close() { if (isClose) { return; } batchcmd.Close(); isClose = true; }