CqlConnection Class |
Namespace: Cassandra.Data
public class CqlConnection : DbConnection, ICloneable
The CqlConnection type exposes the following members.
Name | Description | |
---|---|---|
![]() | CqlConnection() |
Initializes a CqlConnection.
|
![]() | CqlConnection(String) |
Initializes a CqlConnection.
|
Name | Description | |
---|---|---|
![]() | ConnectionString | Gets or sets the string used to open the connection. (Overrides DbConnection.ConnectionString.) |
![]() | Database |
Returns the Keyspace
(Overrides DbConnection.Database.) |
![]() | DataSource | Gets the name of the database server to which to connect. (Overrides DbConnection.DataSource.) |
![]() | ServerVersion | Gets a string that represents the version of the server to which the object is connected. (Overrides DbConnection.ServerVersion.) |
![]() | State | Gets a string that describes the state of the connection. (Overrides DbConnection.State.) |
Name | Description | |
---|---|---|
![]() | ChangeDatabase | Changes the current database for an open connection. (Overrides DbConnection.ChangeDatabase(String).) |
![]() | Clone | |
![]() | Close | Closes the connection to the database. This is the preferred method of closing any open connection. (Overrides DbConnection.Close().) |
![]() | Open | Opens a database connection with the settings specified by the ConnectionString. (Overrides DbConnection.Open().) |