DataStax C# Driver for Apache Cassandra
DataStax C# Driver for Apache Cassandra
Namespaces
Cassandra
SimpleStatement Class
SimpleStatement Methods
Bind Method
BindObjects Method
SetKeyspace Method
SetQueryString Method
SetRoutingKey Method
SetRoutingValues Method
SimpleStatement
SetKeyspace Method
Sets the keyspace this Statement operates on. The keyspace should only be set when the
IStatement
applies to a different keyspace to the logged keyspace of the
ISession
.
Namespace:
Cassandra
Assembly:
Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax
C#
Copy
public
SimpleStatement
SetKeyspace
(
string
name
)
Parameters
name
Type:
System
String
The keyspace name.
Return Value
Type:
SimpleStatement
See Also
Reference
SimpleStatement Class
Cassandra Namespace
DataStax C# Driver for Apache Cassandra User Mailing List
© 2019 DataStax, All rights reserved.