Click or drag to resize
CqlConditionalCommandTEntity Class
Represents an INSERT/UPDATE/DELETE command with support for Lightweight transactions.
Inheritance Hierarchy
SystemObject
  CassandraStatement
    CassandraRegularStatement
      CassandraSimpleStatement
        Cassandra.Data.LinqCqlCommand
          Cassandra.Data.LinqCqlConditionalCommandTEntity

Namespace: Cassandra.Data.Linq
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public class CqlConditionalCommand<TEntity> : CqlCommand

Type Parameters

TEntity

The CqlConditionalCommandTEntity type exposes the following members.

Methods
  NameDescription
Public methodExecute
Executes a conditional query and returns information whether it was applied.
Public methodExecuteAsync
Asynchronously executes a conditional query and returns information whether it was applied.
Public methodSetConsistencyLevel
Public methodSetSerialConsistencyLevel
Public methodSetTimestamp
Sets the timestamp associated with this statement execution.
Public methodSetTTL
Sets the time for data in a column to expire (TTL) for INSERT and UPDATE commands.
Public methodToString
Generates and returns the Cql query
(Overrides RegularStatementToString.)
Top
See Also