Click or drag to resize
CqlConnection Class
Represents a CQL connection.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Data.CommonDbConnection
        Cassandra.DataCqlConnection

Namespace: Cassandra.Data
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public class CqlConnection : DbConnection, 
	ICloneable

The CqlConnection type exposes the following members.

Constructors
  NameDescription
Public methodCqlConnection
Initializes a CqlConnection.
Public methodCqlConnection(String)
Initializes a CqlConnection.
Top
Methods
  NameDescription
Public methodChangeDatabase
Changes the current database for an open Connection object.
(Overrides DbConnectionChangeDatabase(String).)
Public methodClone
Public methodClose
Closes the connection to the database.
(Overrides DbConnectionClose.)
Public methodOpen
Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.
(Overrides DbConnectionOpen.)
Top
Properties
  NameDescription
Public propertyConnectionString
Gets or sets the string used to open a database.
(Overrides DbConnectionConnectionString.)
Public propertyDatabase
Returns the Keyspace
(Overrides DbConnectionDatabase.)
Public propertyDataSource (Overrides DbConnectionDataSource.)
Public propertyServerVersion (Overrides DbConnectionServerVersion.)
Public propertyState
Gets the current state of the connection.
(Overrides DbConnectionState.)
Top
See Also