Click or drag to resize
PreparedStatementBind Method
Creates a new BoundStatement object and bind its variables to the provided values.

Specify the parameter values by the position of the markers in the query or by name, using a single instance of an anonymous type, with property names as parameter names.

Note that while no more values than bound variables can be provided, it is allowed to provide less values that there is variables.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public virtual BoundStatement Bind(
	params Object[] values
)

Parameters

values
Type: SystemObject
the values to bind to the variables of the newly created BoundStatement.

Return Value

Type: BoundStatement
the newly created BoundStatement with its variables bound to values.
See Also