DataStax C# Driver for Apache Cassandra
DataStax C# Driver for Apache Cassandra
Namespaces
Cassandra.Mapping
Mapper Class
Mapper Methods
ExecuteConditional Method
ExecuteConditional(T) Method (ICqlBatch)
ExecuteConditional(T) Method (ICqlBatch, String)
Mapper
ExecuteConditional
T
Method (ICqlBatch)
Executes a batch that contains a Lightweight transaction.
Namespace:
Cassandra.Mapping
Assembly:
Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax
C#
Copy
public
AppliedInfo
<T>
ExecuteConditional
<T>(
ICqlBatch
batch
)
Parameters
batch
Type:
Cassandra.Mapping
ICqlBatch
Type Parameters
T
Return Value
Type:
AppliedInfo
T
Implements
IMapper
ExecuteConditional
T
(ICqlBatch)
Remarks
To set the consistency level, timestamp and other batch options, use
WithOptions(Action
CqlQueryOptions
)
. Individual options for each query within the batch will be ignored.
See Also
Reference
Mapper Class
ExecuteConditional Overload
Cassandra.Mapping Namespace
DataStax C# Driver for Apache Cassandra User Mailing List
© 2019 DataStax, All rights reserved.