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 | |
---|---|---|
BeginTransaction | Starts a database transaction. (Inherited from DbConnection.) | |
BeginTransaction(IsolationLevel) | Starts a database transaction with the specified isolation level. (Inherited from DbConnection.) | |
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.) | |
CreateCommand | Creates and returns a DbCommand object associated with the current connection. (Inherited from DbConnection.) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Dispose | Releases all resources used by the Component. (Inherited from Component.) | |
EnlistTransaction | Enlists in the specified transaction. (Inherited from DbConnection.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetSchema | Returns schema information for the data source of this DbConnection. (Inherited from DbConnection.) | |
GetSchema(String) | Returns schema information for the data source of this DbConnection using the specified string for the schema name. (Inherited from DbConnection.) | |
GetSchema(String, String) | Returns schema information for the data source of this DbConnection using the specified string for the schema name and the specified string array for the restriction values. (Inherited from DbConnection.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
Open | Opens a database connection with the settings specified by the ConnectionString. (Overrides DbConnectionOpen.) | |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
Name | Description | |
---|---|---|
ConnectionString | Gets or sets the string used to open the connection. (Overrides DbConnectionConnectionString.) | |
ConnectionTimeout | Gets the time to wait while establishing a connection before terminating the attempt and generating an error. (Inherited from DbConnection.) | |
Container | Gets the IContainer that contains the Component. (Inherited from Component.) | |
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.) | |
Site | Gets or sets the ISite of the Component. (Inherited from Component.) | |
State | Gets a string that describes the state of the connection. (Overrides DbConnectionState.) |
Name | Description | |
---|---|---|
Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) | |
StateChange | Occurs when the state of the event changes. (Inherited from DbConnection.) |