示例#1
0
 /// <summary>
 /// Ends the batch connection.
 /// </summary>
 public void EndBatchConnection()
 {
     batchCommander.Close();
     CloseConnection(batchConnection);
     batchConnection = null;
     batchCommander  = null;
 }
示例#2
0
        /// <summary>
        /// 关闭
        /// </summary>
        public void Close()
        {
            if (isClose)
            {
                return;
            }

            batchcmd.Close();
            isClose = true;
        }