Click or drag to resize
MapperCreateBatch Method (BatchType)
Creates a new batch.

To set the consistency level, timestamp and other batch options, use WithOptions(ActionCqlQueryOptions). Individual options for each query within the batch will be ignored.

Namespace: Cassandra.Mapping
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public ICqlBatch CreateBatch(
	BatchType batchType
)

Parameters

batchType
Type: CassandraBatchType

Return Value

Type: ICqlBatch

Implements

IMapperCreateBatch(BatchType)
See Also