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.11.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
Properties
  NameDescription
Public propertyConnectionString
Gets or sets the string used to open the connection.
(Overrides DbConnectionConnectionString.)
Public propertyDatabase
Returns the Keyspace
(Overrides DbConnectionDatabase.)
Public propertyDataSource
Gets the name of the database server to which to connect.
(Overrides DbConnectionDataSource.)
Public propertyServerVersion
Gets a string that represents the version of the server to which the object is connected.
(Overrides DbConnectionServerVersion.)
Public propertyState
Gets a string that describes the state of the connection.
(Overrides DbConnectionState.)
Top
Methods
  NameDescription
Public methodChangeDatabase
Changes the current database for an open connection.
(Overrides DbConnectionChangeDatabase(String).)
Public methodClone
Public methodClose
Closes the connection to the database. This is the preferred method of closing any open connection.
(Overrides DbConnectionClose.)
Public methodOpen
Opens a database connection with the settings specified by the ConnectionString.
(Overrides DbConnectionOpen.)
Top
See Also