}//END getParameter method

    //=======================================================================================
    /// <summary>
    /// This method set the parameter value.
    /// </summary>
    /// <param name="Name">String: parameter key</param>
    /// <param name="Value">String: parameter value</param>
    //---------------------------------------------------------------------------------------
    public string setParameter ( object Name, object Value )
    {
      EvObjectParameter parm = new EvObjectParameter (
        Name, Value );

      return this.setParameter ( parm );
    }
        }//END getParameter method

        // ==============================================================================
        /// <summary>
        /// This method returns the parameter object if exists in the parameter list.
        /// </summary>
        /// <param name="Name">The paramater name</param>
        /// <param name="DataType">EvDataTypes enumeration list value</param>
        /// <param name="Value">String value</param>
        /// <returns>EvApplicationParameter object </returns>
        //  ------------------------------------------------------------------------------

        protected void setParameter(Object Name, EvDataTypes DataType, String Value)
        {
            EvObjectParameter parameter = new EvObjectParameter(Name, DataType, Value);

            //
            // If the list is null then return null
            if (this.Parameters == null)
            {
                this.Parameters = new List <EvObjectParameter> ( );
            }

            //
            // foreach item in the list return the parameter if the names match.
            //
            foreach (EvObjectParameter parm in this.Parameters)
            {
                if (parm.Name == parameter.Name)
                {
                    parm.Value    = parameter.Value;
                    parm.DataType = parameter.DataType;
                    return;
                }
            }

            this.Parameters.Add(parameter);
        }//END getParameter method
    //=======================================================================================
    /// <summary>
    /// This method returens the parameter value.
    /// </summary>
    /// <param name="Name">String: parameter key</param>
    /// <param name="Value">String: parameter value</param>
    //---------------------------------------------------------------------------------------
    public void setBooleanParameter ( object Name, bool Value )
    {
      string value = Value.ToString ( );
      EvObjectParameter parm = new EvObjectParameter (
        Name, value );
      parm.DataType = Evado.Model.EvDataTypes.Boolean;

      this.setParameter ( parm );
    }
    }//END getParameter method

    // ==============================================================================
    /// <summary>
    /// This method updates the parameter list.
    /// </summary>
    /// <param name="Parameter">EvObjectParameter object</param>
    //  ------------------------------------------------------------------------------
    private string setParameter ( EvObjectParameter Parameter )
    {
      //
      // If the object is null then return 
      //
      if ( Parameter == null )
      {
        return "Null object";
      }

      //
      // Initialise the list if null
      //
      if ( this.Parameters == null )
      {
        this.Parameters = new List<EvObjectParameter> ( );
      }

      //
      // Add the item to the empty list.
      //
      if ( this.Parameters.Count == 0 )
      {
        this.Parameters.Add ( Parameter );

        return "Empty parameters: Added parameter";
      }

      //
      // foreach item in the list return the parameter if the names match.
      //
      for ( int i = 0; i < this.Parameters.Count; i++ )
      {
        if ( this.Parameters [ i ].Name == Parameter.Name )
        {
          this.Parameters [ i ] = Parameter;
          return "Updated object Value: " + Parameter.Value;
        }
      }//END iteration loop

      //
      // if the item is not found in the list then add it to the list.
      //
      this.Parameters.Add ( Parameter );

      return "Added Parameter";

    }//END getParameter method