OPLParameterCollection

Represents a collection of parameters relevant to an OPLCommand as well as their respective mappings to columns in a DataSet.

public class OPLParameterCollection : MarshalByRefObject, IDataParameterCollection, ICollection, IEnumerable, IList


Methods


public int Add (OPLParameter value);


Adds the specified OPLParameter to the OPLParameterCollection

public int Add (string parameterName, object value);


Adds an OPLParameter to the OPLParameterCollection given the parameter name and value.

public int Add (string parameterName, OPLDbType dbType);


Adds an OPLParameter to the OPLParameterCollection given the parameter name and data type.

public int Add (string parameterName, OPLDbType dbType, int size);


Adds an OPLParameter to the OPLParameterCollection given the the parameter name, data type, and column length.

public int Add (string parameterName, OPLDbType dbType, int size, string sourceColumn);


Adds an OPLParameter to the OPLParameterCollection given the parameter name, data type, column length, and source column name.


Properties


public OPLParameter this[int index] {get; set;}


Gets or sets the OPLParameter at the specified index

public OPLParameter this[string parameterName] {get; set;}


Gets or sets the OPLParameter with the specified name.