Click or drag to resize

MapperExecuteConditionalAsyncT 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
C#
public Task<AppliedInfo<T>> ExecuteConditionalAsync<T>(
	ICqlBatch batch,
	string executionProfile
)

Parameters

batch
Type: Cassandra.MappingICqlBatch
executionProfile
Type: SystemString

Type Parameters

T

Return Value

Type: TaskAppliedInfoT

Implements

IMapperExecuteConditionalAsyncT(ICqlBatch, String)
Remarks
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