/// <summary> /// Adds the parameter to the parameter list of the query object /// </summary> /// <para>pName - Name of the Parameter</para> /// <para>pValue - Value of the Parameter</para> /// <para>pType - Type of the value being entered in the query</para> public void Add_Parameter(string pName, string pValue, OleDbType pType) { Parameter oParm = new Parameter(pName, pValue, pType); ParameterList.Add(oParm); }
/// <summary> /// Sets and returns the Parameter object /// </summary> /// <para>pName - Name of the Parameter</para> /// <para>pValue - Value of the Parameter</para> /// <para>pType - Type of the value being entered in the query</para> /// <returns>Parameter - Returns a Parameter object that can be added to the Query Object</returns> public Parameter get_Parameter(string pName, string pValue, OleDbType pType) { Parameter oParm = new Parameter(pName, pValue, pType); return oParm; }