Click or drag to resize
CqlParameterCollection Class
Represents a collection of CqlParameters.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.Data.CommonDbParameterCollection
      Cassandra.DataCqlParameterCollection

Namespace: Cassandra.Data
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
public class CqlParameterCollection : DbParameterCollection

The CqlParameterCollection type exposes the following members.

Constructors
  NameDescription
Public methodCqlParameterCollection
Initializes a new instance of the CqlParameterCollection class
Top
Methods
  NameDescription
Public methodAdd(Object)
Adds the specified DbParameter object to the DbParameterCollection.
(Overrides DbParameterCollectionAdd(Object).)
Public methodAdd(CqlParameter)
Adds the specified parameter.
Public methodAdd(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.
Public methodAddRange
Adds an array of items with the specified values to the DbParameterCollection.
(Overrides DbParameterCollectionAddRange(Array).)
Public methodClear
Removes all DbParameter values from the DbParameterCollection.
(Overrides DbParameterCollectionClear.)
Public methodContains(Object)
Indicates whether a DbParameter with the specified Value is contained in the collection.
(Overrides DbParameterCollectionContains(Object).)
Public methodContains(String)
Indicates whether a DbParameter with the specified name exists in the collection.
(Overrides DbParameterCollectionContains(String).)
Public methodCopyTo
Copies an array of items to the collection starting at the specified index.
(Overrides DbParameterCollectionCopyTo(Array, Int32).)
Public methodGetEnumerator
Exposes the GetEnumerator method, which supports a simple iteration over a collection by a .NET Framework data provider.
(Overrides DbParameterCollectionGetEnumerator.)
Public methodIndexOf(Object)
Returns the index of the specified DbParameter object.
(Overrides DbParameterCollectionIndexOf(Object).)
Public methodIndexOf(String)
Returns the index of the DbParameter object with the specified name.
(Overrides DbParameterCollectionIndexOf(String).)
Public methodInsert
Inserts the specified index of the DbParameter object with the specified name into the collection at the specified index.
(Overrides DbParameterCollectionInsert(Int32, Object).)
Public methodRemove
Removes the specified DbParameter object from the collection.
(Overrides DbParameterCollectionRemove(Object).)
Public methodRemoveAt(Int32)
Removes the DbParameter object at the specified from the collection.
(Overrides DbParameterCollectionRemoveAt(Int32).)
Public methodRemoveAt(String)
Removes the DbParameter object with the specified name from the collection.
(Overrides DbParameterCollectionRemoveAt(String).)
Top
Properties
  NameDescription
Public propertyCount
Specifies the number of items in the collection.
(Overrides DbParameterCollectionCount.)
Public propertyIsFixedSize
Specifies whether the collection is a fixed size.
(Overrides DbParameterCollectionIsFixedSize.)
Public propertyIsReadOnly
Specifies whether the collection is read-only.
(Overrides DbParameterCollectionIsReadOnly.)
Public propertyIsSynchronized
Specifies whether the collection is synchronized.
(Overrides DbParameterCollectionIsSynchronized.)
Public propertySyncRoot
Specifies the Object to be used to synchronize access to the collection.
(Overrides DbParameterCollectionSyncRoot.)
Top
See Also