| CqlConnection Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Cassandra.Data
 Syntax
Syntaxpublic class CqlConnection : DbConnection, ICloneable
The CqlConnection type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | CqlConnection | 
            Initializes a CqlConnection.
             | 
|  | CqlConnection(String) | 
            Initializes a CqlConnection.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | ConnectionString | Gets or sets the string used to open the connection.(Overrides DbConnectionConnectionString.) | 
|  | Database | 
            Returns the Keyspace
            (Overrides DbConnectionDatabase.) | 
|  | DataSource | Gets the name of the database server to which to connect.(Overrides DbConnectionDataSource.) | 
|  | ServerVersion | Gets a string that represents the version of the server to which the object is connected.(Overrides DbConnectionServerVersion.) | 
|  | State | Gets a string that describes the state of the connection.(Overrides DbConnectionState.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | ChangeDatabase | Changes the current database for an open connection.(Overrides DbConnectionChangeDatabase(String).) | 
|  | Clone | |
|  | Close | Closes the connection to the database. This is the preferred method of closing any open connection.(Overrides DbConnectionClose.) | 
|  | Open | Opens a database connection with the settings specified by the ConnectionString.(Overrides DbConnectionOpen.) | 
 See Also
See Also