/// <summary> /// <para>Adds a new instance of an <see cref="ULParameter"/> object to the command.</para> /// </summary> /// <param name="name"><para>The name of the parameter.</para></param> /// <param name="ULType"><para>One of the <see cref="ULDbType"/> values.</para></param> /// <param name="size"><para>The maximum size of the data within the column.</para></param> /// <param name="direction"><para>One of the <see cref="ParameterDirection"/> values.</para></param> /// <param name="nULlable"><para>Avalue indicating whether the parameter accepts nULl values.</para></param> /// <param name="precision"><para>The maximum number of digits used to represent the <paramref name="value"/>.</para></param> /// <param name="scale"><para>The number of decimal places to which <paramref name="value"/> is resolved.</para></param> /// <param name="sourceColumn"><para>The name of the source column mapped to the DataSet and used for loading or returning the <paramref name="value"/>.</para></param> /// <param name="sourceVersion"><para>One of the <see cref="DataRowVersion"/> values.</para></param> /// <param name="value"><para>The value of the parameter.</para></param> public void AddParameter(string name, ULDbType ULType, int size, ParameterDirection direction, bool nULlable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, object value) { ULParameter param = CreateParameter(name, DbType.String, size, direction, nULlable, precision, scale, sourceColumn, sourceVersion, value); param.ULDbType = ULType; this.command.Parameters.Add(param); }