IMapperExecuteConditionalAsyncT Method (ICqlBatch, String) |
Executes a batch that contains a Lightweight transaction with the provided execution profile.
Namespace:
Cassandra.Mapping
Assembly:
Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax Task<AppliedInfo<T>> ExecuteConditionalAsync<T>(
ICqlBatch batch,
string executionProfile
)
Parameters
- batch
- Type: Cassandra.MappingICqlBatch
- executionProfile
- Type: SystemString
Type Parameters
- T
Return Value
Type:
TaskAppliedInfoTRemarks
To set the consistency level, timestamp and other batch options, use
WithOptions(ActionCqlQueryOptions). Individual options for each
query within the batch will be ignored.
See Also