[]
        
(Showing Draft Content)

C1.DataConnector.C1DbParameterCollection

C1DbParameterCollection Class

A collection containing the C1DbParameters

Inheritance
C1DbParameterCollection
Namespace: C1.DataConnector
Assembly: C1.DataConnector.dll
Syntax
public class C1DbParameterCollection : DbParameterCollection, IDataParameterCollection, IList, ICollection, IEnumerable

Constructors

Name Description
C1DbParameterCollection()

C1DbParameterCollection constructor.

Properties

Name Description
Count

Specifies the number of items in the collection.

this[int]

Gets and sets the DbParameter at the specified index.

this[string]

Gets and sets the DbParameter with the specified name.

SyncRoot

Specifies the Object to be used to synchronize access to the collection.

Methods

Name Description
Add(object)

Adds the specified DbParameter object to the parameter collection.

Add(string, DbType, string)

Adds a DbParameter object to the parameter collection.

Add(string, string)

Adds a DbParameter object to the parameter collection.

AddRange(Array)

Adds an array of items with the specified values to the parameter collection.

AddWithValue(string, object)

Adds a DbParameter object to the parameter collection.

Clear()

Removes all parameter values from the parameter collection.

Clone()

Create a copy of the current instance of C1DbParameterCollection.

Contains(object)

Indicates whether a DbParameter with the specified Value is contained in the collection.

Contains(string)

Indicates whether a DbParameter with the specified name exists in the collection.

CopyTo(Array, int)

Copies an array of items to the collection starting at the specified index.

GetEnumerator()

Gets a simple iteration over a collection.

GetParameter(int)

Returns the DbParameter object at the specified index in the collection.

GetParameter(string)

Returns DbParameter the object with the specified name.

IndexOf(object)

Returns the index of the specified DbParameter object.

IndexOf(string)

Returns the index of the DbParameter object with the specified name.

Insert(int, object)

Inserts the specified index of the DbParameter object with the specified name into the collection at the specified index.

Remove(object)

Removes the specified DbParameter object from the collection.

RemoveAt(int)

Removes the DbParameter object at the specified from the collection.

RemoveAt(string)

Removes the DbParameter object with the specified name from the collection.

SetParameter(int, DbParameter)

Sets the DbParameter object at the specified index to a new value.

SetParameter(string, DbParameter)

Sets the DbParameter object with the specified name to a new value.