Click or drag to resize

IDseSession Interface

Represents an ISession suitable for querying a DataStax Enterprise (DSE) Cluster.

Session instances are designed to be long-lived, thread-safe and usually a single instance is enough per application.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public interface IDseSession : ISession, 
	IDisposable

The IDseSession type exposes the following members.

Methods
  NameDescription
Public methodCode exampleExecuteGraph(IGraphStatement)
Executes a graph statement.
Public methodCode exampleExecuteGraph(IGraphStatement, String)
Executes a graph statement with the provided execution profile. The execution profile must have been added previously to the DseCluster using WithExecutionProfiles(ActionIExecutionProfileOptions).
Public methodCode exampleExecuteGraphAsync(IGraphStatement)
Executes a graph statement.
Public methodCode exampleExecuteGraphAsync(IGraphStatement, String)
Executes a graph statement asynchronously with the provided graph execution profile. The graph execution profile must have been added previously to the DseCluster using WithExecutionProfiles(ActionIExecutionProfileOptions).
Top
Extension Methods
  NameDescription
Public Extension MethodCreateBatchOverloaded. (Defined by SessionExtensions.)
Public Extension MethodCreateBatch(BatchType)Overloaded. (Defined by SessionExtensions.)
Public Extension MethodGetState
Gets a snapshot containing information on the connections pools held by this Client at the current time.

The information provided in the returned object only represents the state at the moment this method was called and it's not maintained in sync with the driver metadata.

(Defined by Extensions.)
Public Extension MethodGetTableTEntity

Extension method used for backward-compatibility, use TableTEntity(ISession) constructor instead.

Creates a new instance of the Linq IQueryProvider that represents a table in Cassandra using the mapping configuration provided.

Fluent configuration or attributes can be used to define mapping information.

(Defined by SessionExtensions.)
Top
See Also

Reference