Click or drag to resize

Table<TEntity> Methods

The Table<TEntity> generic type exposes the following members.

Methods
Extension Methods
  NameDescription
Public Extension MethodAllowFiltering<TEntity>
The ALLOW FILTERING option allows to explicitly allow queries that require filtering. Please note that a query using ALLOW FILTERING may thus have unpredictable performance (for the definition above), i.e. even a query that selects a handful of records may exhibit performance that depends on the total amount of data stored in the cluster.
(Defined by CqlQueryExtensions.)
Public Extension MethodCount<TEntity>
Returns the number of rows matching the query. To execute this CqlScalar use Execute() method.
(Defined by CqlQueryExtensions.)
Public Extension MethodDelete<TEntity>
Returns a representation of a DELETE cql statement
(Defined by CqlQueryExtensions.)
Public Extension MethodDeleteIf<TEntity>
Returns a representation of a DELETE ... IF ... cql statement, for Lightweight Transactions support
(Defined by CqlQueryExtensions.)
Public Extension MethodFirst<TEntity>()Overloaded.
Returns a CqlQuery which after execution will return the first element in a sequence. To execute this CqlQuery use Execute() method.
(Defined by CqlQueryExtensions.)
Public Extension MethodFirst<TSource>(Expression<Func<TSource, Boolean>>)Overloaded.
Returns a CqlQuery which after execution returns the first element in a sequence that satisfies a specified condition. To execute this CqlQuery use Execute() method.
(Defined by CqlQueryExtensions.)
Public Extension MethodFirstOrDefault<TEntity>()Overloaded.
Returns a CqlQuery which after execution will return the first element of a sequence, or a default value if the sequence contains no elements. To execute this CqlQuery use Execute() method.
(Defined by CqlQueryExtensions.)
Public Extension MethodFirstOrDefault<TSource>(Expression<Func<TSource, Boolean>>)Overloaded.
Returns a CqlQuery which after execution will return the first element of the sequence that satisfies a condition or a default value if no such element is found. To execute this CqlQuery use Execute() method.
(Defined by CqlQueryExtensions.)
Public Extension MethodOrderBy<TEntity, TKey>
Sorts the elements, which are returned from CqlQuery, in ascending order according to a key.
(Defined by CqlQueryExtensions.)
Public Extension MethodOrderByDescending<TEntity, TKey>
Sorts the elements, which are returned from CqlQuery, in ascending order according to a key.
(Defined by CqlQueryExtensions.)
Public Extension MethodSelect<TEntity, TResult>
Projects each element of a sequence into a new form.
(Defined by CqlQueryExtensions.)
Public Extension MethodTake<TEntity>
Returns a CqlQuery which after execution will return IEnumerable<TSource> with specified number of contiguous elements from the start of a sequence. To execute this CqlQuery use Execute() method.
(Defined by CqlQueryExtensions.)
Public Extension MethodThenBy<TEntity, TKey>
Sorts the elements, which are returned from CqlQuery, in ascending order according to a key.
(Defined by CqlQueryExtensions.)
Public Extension MethodThenByDescending<TEntity, TKey>
Sorts the elements, which are returned from CqlQuery, in descending order according to a key.
(Defined by CqlQueryExtensions.)
Public Extension MethodUpdate<TEntity>
Returns a representation of a UPDATE cql statement
(Defined by CqlQueryExtensions.)
Public Extension MethodUpdateIf<TEntity>
Returns a representation of a UPDATE ... IF ... cql statement, for Lightweight Transactions support
(Defined by CqlQueryExtensions.)
Public Extension MethodUpdateIfExists<TEntity>
Returns a representation of a UPDATE ... IF EXISTS cql statement, for Lightweight Transactions support.
(Defined by CqlQueryExtensions.)
Public Extension MethodWhere<TEntity>
Returns a CqlQuery which after execution returns filtered sequence of values based on a predicate. To execute this CqlQuery use Execute() method.
(Defined by CqlQueryExtensions.)
Top
See Also