Class CqlOperator
Contains methods to use as Linq operators.
Inheritance
System.Object
CqlOperator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Dse.dll
Syntax
public static class CqlOperator
Methods
Append<T>(T)
Represents the CQL add assign (+=) operator for collections
Declaration
public static T Append<T>(T value)
where T : IEnumerable
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Type Parameters
Prepend<T>(T)
Represents the CQL prepend operator for collections (col1 = ? + col1)
Declaration
public static T Prepend<T>(T value)
where T : IEnumerable
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Type Parameters
SubstractAssign<T>(T)
Represents the CQL operator to remove an item from lists and sets (col1 = col1 - ?).
Declaration
public static T SubstractAssign<T>(T value)
where T : IEnumerable
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Type Parameters
SubstractAssign<TKey, TValue>(Dictionary<TKey, TValue>, TKey[])
Represents the CQL operator to remove an item from a map (col1 = col1 - ?).
Declaration
public static Dictionary<TKey, TValue> SubstractAssign<TKey, TValue>(this Dictionary<TKey, TValue> map, params TKey[] value)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<TKey, TValue> |
map |
|
TKey[] |
value |
|
Returns
Type |
Description |
System.Collections.Generic.Dictionary<TKey, TValue> |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
SubstractAssign<TKey, TValue>(IDictionary<TKey, TValue>, TKey[])
Represents the CQL operator to remove an item from a map (col1 = col1 - ?).
Declaration
public static IDictionary<TKey, TValue> SubstractAssign<TKey, TValue>(this IDictionary<TKey, TValue> map, params TKey[] value)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<TKey, TValue> |
map |
|
TKey[] |
value |
|
Returns
Type |
Description |
System.Collections.Generic.IDictionary<TKey, TValue> |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
SubstractAssign<TKey, TValue>(SortedDictionary<TKey, TValue>, TKey[])
Represents the CQL operator to remove an item from a map (col1 = col1 - ?).
Declaration
public static SortedDictionary<TKey, TValue> SubstractAssign<TKey, TValue>(this SortedDictionary<TKey, TValue> map, params TKey[] value)
Parameters
Type |
Name |
Description |
System.Collections.Generic.SortedDictionary<TKey, TValue> |
map |
|
TKey[] |
value |
|
Returns
Type |
Description |
System.Collections.Generic.SortedDictionary<TKey, TValue> |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|