CqlParameterCollection Class |
Namespace: Cassandra.Data
public class CqlParameterCollection : DbParameterCollection
The CqlParameterCollection type exposes the following members.
Name | Description | |
---|---|---|
CqlParameterCollection | Initializes a new instance of the CqlParameterCollection class |
Name | Description | |
---|---|---|
Count |
Specifies the number of items in the collection.
(Overrides DbParameterCollectionCount.) | |
IsFixedSize |
Specifies whether the collection is a fixed size.
(Overrides DbParameterCollection.IsFixedSize.) | |
IsReadOnly |
Specifies whether the collection is read-only.
(Overrides DbParameterCollection.IsReadOnly.) | |
IsSynchronized |
Specifies whether the collection is synchronized.
(Overrides DbParameterCollection.IsSynchronized.) | |
SyncRoot |
Specifies the Object to be used to synchronize access to the collection.
(Overrides DbParameterCollection.SyncRoot.) |
Name | Description | |
---|---|---|
Add(Object) |
Adds the specified DbParameter object
to the DbParameterCollection.
(Overrides DbParameterCollectionAdd(Object).) | |
Add(CqlParameter) |
Adds the specified parameter.
| |
Add(String, Object) |
Adds a new parameter with the specified name and value. The name will be
parsed to extract table and keyspace information (if any). The parameter type
will be guessed from the object value.
| |
AddRange |
Adds an array of items with the specified values
to the DbParameterCollection.
(Overrides DbParameterCollectionAddRange(Array).) | |
Clear |
Removes all DbParameter values
from the DbParameterCollection.
(Overrides DbParameterCollectionClear.) | |
Contains(Object) |
Indicates whether a DbParameter
with the specified Value
is contained in the collection.
(Overrides DbParameterCollectionContains(Object).) | |
Contains(String) |
Indicates whether a DbParameter
with the specified name exists in the collection.
(Overrides DbParameterCollectionContains(String).) | |
CopyTo |
Copies an array of items to the collection starting at the specified index.
(Overrides DbParameterCollectionCopyTo(Array, Int32).) | |
GetEnumerator |
Exposes the GetEnumerator method,
which supports a simple iteration over a collection by a .NET Framework data provider.
(Overrides DbParameterCollection.GetEnumerator.) | |
IndexOf(Object) |
Returns the index of the specified DbParameter object.
(Overrides DbParameterCollectionIndexOf(Object).) | |
IndexOf(String) |
Returns the index of the DbParameter object with the specified name.
(Overrides DbParameterCollectionIndexOf(String).) | |
Insert |
Inserts the specified index of the DbParameter object
with the specified name into the collection at the specified index.
(Overrides DbParameterCollectionInsert(Int32, Object).) | |
Remove |
Removes the specified DbParameter object from the collection.
(Overrides DbParameterCollectionRemove(Object).) | |
RemoveAt(Int32) |
Removes the DbParameter object at the specified from the collection.
(Overrides DbParameterCollectionRemoveAt(Int32).) | |
RemoveAt(String) |
Removes the DbParameter object
with the specified name from the collection.
(Overrides DbParameterCollectionRemoveAt(String).) |