override protected void InitializeBatching()
        {
            // TODO:   Bid.Trace("<sc.SqlDataAdapter.InitializeBatching|API> %d#\n", ObjectID);
            _commandSet = new SqlCommandSet();
            SqlCommand command = SelectCommand;

            if (null == command)
            {
                command = InsertCommand;
                if (null == command)
                {
                    command = UpdateCommand;
                    if (null == command)
                    {
                        command = DeleteCommand;
                    }
                }
            }
            if (null != command)
            {
                _commandSet.Connection     = command.Connection;
                _commandSet.Transaction    = command.Transaction;
                _commandSet.CommandTimeout = command.CommandTimeout;
            }
        }
 override protected void TerminateBatching()
 {
     if (null != _commandSet)
     {
         _commandSet.Dispose();
         _commandSet = null;
     }
 }