[]
        
(Showing Draft Content)

C1.DataConnector.C1DbParameterCollection.Add

Add Method

Add(object)

Adds the specified DbParameter object to the parameter collection.

Declaration
public override int Add(object value)
Parameters
Type Name Description
object value

The Value of the DbParameter to add to the collection.

Returns
Type Description
int

The index of the DbParameter object in the collection.

Overrides

Add(string, string)

Adds a DbParameter object to the parameter collection.

Declaration
public C1DbParameter Add(string name, string sourceColumn)
Parameters
Type Name Description
string name

The name of the parameter.

string sourceColumn

The source column of the parameter to be mapped to.

Returns
Type Description
C1DbParameter

Add(string, DbType, string)

Adds a DbParameter object to the parameter collection.

Declaration
public C1DbParameter Add(string name, DbType dbType, string sourceColumn)
Parameters
Type Name Description
string name

The name of the parameter.

DbType dbType

The type of the parameter.

string sourceColumn

The source column of the parameter to be mapped to.

Returns
Type Description
C1DbParameter