Click or drag to resize
CqlCommand Class
Represents an CQL statement to execute against Cassandra
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Data.CommonDbCommand
        Cassandra.DataCqlCommand

Namespace: Cassandra.Data
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.5 (git 25b8d4e)
Syntax
C#
public sealed class CqlCommand : DbCommand

The CqlCommand type exposes the following members.

Constructors
  NameDescription
Public methodCqlCommand
Initializes a new instance of the CqlCommand class
Top
Methods
  NameDescription
Public methodCancel (Overrides DbCommandCancel.)
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 methodCreateParameter
Creates a new instance of a DbParameter object.
(Inherited from DbCommand.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecuteNonQuery (Overrides DbCommandExecuteNonQuery.)
Public methodExecuteReader
Executes the CommandText against the Connection, and returns an DbDataReader.
(Inherited from DbCommand.)
Public methodExecuteReader(CommandBehavior)
Executes the CommandText against the Connection, and returns an DbDataReader using one of the CommandBehavior values.
(Inherited from DbCommand.)
Public methodExecuteScalar (Overrides DbCommandExecuteScalar.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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 methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodPrepare (Overrides DbCommandPrepare.)
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Top
Properties
  NameDescription
Public propertyCommandText
Gets or sets the text command to run against the data source.
(Overrides DbCommandCommandText.)
Public propertyCommandTimeout (Overrides DbCommandCommandTimeout.)
Public propertyCommandType (Overrides DbCommandCommandType.)
Public propertyConnection
Gets or sets the DbConnection used by this DbCommand.
(Inherited from DbCommand.)
Public propertyConsistencyLevel
Gets or sets the ConsistencyLevel when executing the current CqlCommand.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyDesignTimeVisible (Overrides DbCommandDesignTimeVisible.)
Public propertyIsPrepared
Gets whether this command has been prepared.
Public propertyParameters
Gets the CqlParameters.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyTransaction
Gets or sets the DbTransaction within which this DbCommand object executes.
(Inherited from DbCommand.)
Public propertyUpdatedRowSource (Overrides DbCommandUpdatedRowSource.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Top
See Also