Class DuckDBParameterCollection
public class DuckDBParameterCollection : DbParameterCollection, IDataParameterCollection, IList, ICollection, IEnumerable
- Inheritance
-
Duck
DBParameter Collection
- Implements
- Inherited Members
Properties
Count
Specifies the number of items in the collection.
Property Value
- int
The number of items in the collection.
this[int]
Parameters
index
int
Property Value
this[string]
Parameters
parameterName
string
Property Value
SyncRoot
Specifies the object to be used to synchronize access to the collection.
Property Value
- object
A object to be used to synchronize access to the Db
Parameter .Collection
Methods
Add(DuckDBParameter)
Parameters
value
DuckDBParameter
Returns
Add(object)
Adds the specified Db
Parameters
value
objectThe Value of the Db
Parameter to add to the collection.
Returns
- int
The index of the Db
Parameter object in the collection.
AddRange(Array)
Adds an array of items with the specified values to the Db
Parameters
values
ArrayAn array of values of type Db
Parameter to add to the collection.
AddRange(IEnumerable<DuckDBParameter>)
Parameters
values
IEnumerable<DuckDBParameter >
Clear()
Removes all Db
Contains(DuckDBParameter)
Parameters
value
DuckDBParameter
Returns
Contains(object)
Indicates whether a Db
Parameters
value
objectThe Value of the Db
Parameter to look for in the collection.
Returns
- bool
true if the Db
Parameter is in the collection; otherwise false.
Contains(string)
Indicates whether a Db
Parameters
value
stringThe name of the Db
Parameter to look for in the collection.
Returns
- bool
true if the Db
Parameter is in the collection; otherwise false.
CopyTo(DuckDBParameter[], int)
Parameters
array
DuckDBParameter []index
int
CopyTo(Array, int)
Copies an array of items to the collection starting at the specified index.
Parameters
array
ArrayThe array of items to copy to the collection.
index
intThe index in the collection to copy the items.
GetEnumerator()
Exposes the Get
Returns
- IEnumerator
An IEnumerator that can be used to iterate through the collection.
GetParameter(int)
Returns the Db
Parameters
index
intThe index of the Db
Parameter in the collection.
Returns
- Db
Parameter The Db
Parameter object at the specified index in the collection.
GetParameter(string)
Returns Db
Parameters
parameterName
stringThe name of the Db
Parameter in the collection.
Returns
- Db
Parameter The Db
Parameter the object with the specified name.
IndexOf(DuckDBParameter)
Parameters
value
DuckDBParameter
Returns
IndexOf(object)
Returns the index of the specified Db
Parameters
value
objectThe Db
Parameter object in the collection.
Returns
- int
The index of the specified Db
Parameter object.
IndexOf(string)
Returns the index of the Db
Parameters
parameterName
stringThe name of the Db
Parameter object in the collection.
Returns
- int
The index of the Db
Parameter object with the specified name.
Insert(int, DuckDBParameter)
Parameters
index
intvalue
DuckDBParameter
Insert(int, object)
Inserts the specified index of the Db
Parameters
index
intThe index at which to insert the Db
Parameter object.value
objectThe Db
Parameter object to insert into the collection.
Remove(DuckDBParameter)
Parameters
value
DuckDBParameter
Remove(object)
Removes the specified Db
Parameters
value
objectThe Db
Parameter object to remove.
RemoveAt(int)
Removes the Db
Parameters
index
intThe index where the Db
Parameter object is located.
RemoveAt(string)
Removes the Db
Parameters
parameterName
stringThe name of the Db
Parameter object to remove.
SetParameter(int, DbParameter)
Sets the Db
Parameters
index
intThe index where the Db
Parameter object is located.value
DbParameter The new Db
Parameter value.
SetParameter(string, DbParameter)
Sets the Db
Parameters
parameterName
stringThe name of the Db
Parameter object in the collection.value
DbParameter The new Db
Parameter value.