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.2.0
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 methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Exposes the GetEnumerator method, which supports a simple iteration over a collection by a .NET Framework data provider.
(Overrides DbParameterCollectionGetEnumerator.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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 methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
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).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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 propertyItemInt32
Gets and sets the DbParameter at the specified index.
(Inherited from DbParameterCollection.)
Public propertyItemString
Gets and sets the DbParameter with the specified name.
(Inherited from DbParameterCollection.)
Public propertySyncRoot
Specifies the Object to be used to synchronize access to the collection.
(Overrides DbParameterCollectionSyncRoot.)
Top
See Also