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
indexint
Property Value
this[string]
Parameters
parameterNamestring
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
valueDuckDBParameter
Returns
Add(object)
Adds the specified Db
Parameters
valueobjectThe 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
valuesArrayAn array of values of type Db
Parameter to add to the collection.
AddRange(IEnumerable<DuckDBParameter>)
Parameters
valuesIEnumerable<DuckDBParameter >
Clear()
Removes all Db
Contains(DuckDBParameter)
Parameters
valueDuckDBParameter
Returns
Contains(object)
Indicates whether a Db
Parameters
valueobjectThe 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
valuestringThe 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
arrayDuckDBParameter []indexint
CopyTo(Array, int)
Copies an array of items to the collection starting at the specified index.
Parameters
arrayArrayThe array of items to copy to the collection.
indexintThe 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
indexintThe 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
parameterNamestringThe name of the Db
Parameter in the collection.
Returns
- Db
Parameter The Db
Parameter the object with the specified name.
IndexOf(DuckDBParameter)
Parameters
valueDuckDBParameter
Returns
IndexOf(object)
Returns the index of the specified Db
Parameters
valueobjectThe 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
parameterNamestringThe 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
indexintvalueDuckDBParameter
Insert(int, object)
Inserts the specified index of the Db
Parameters
indexintThe index at which to insert the Db
Parameter object.valueobjectThe Db
Parameter object to insert into the collection.
Remove(DuckDBParameter)
Parameters
valueDuckDBParameter
Remove(object)
Removes the specified Db
Parameters
valueobjectThe Db
Parameter object to remove.
RemoveAt(int)
Removes the Db
Parameters
indexintThe index where the Db
Parameter object is located.
RemoveAt(string)
Removes the Db
Parameters
parameterNamestringThe name of the Db
Parameter object to remove.
SetParameter(int, DbParameter)
Sets the Db
Parameters
indexintThe index where the Db
Parameter object is located.valueDbParameter The new Db
Parameter value.
SetParameter(string, DbParameter)
Sets the Db
Parameters
parameterNamestringThe name of the Db
Parameter object in the collection.valueDbParameter The new Db
Parameter value.