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

            batchcmd.Close();
            isClose = true;
        }