Esempio n. 1
0
 ///<inheritdoc/>
 public override bool Equals(ColumnBase other) => Equals(other as Literal);
Esempio n. 2
0
 public override bool Equals(ColumnBase other) => Equals(other as VariableValues);
Esempio n. 3
0
 /// <summary>
 /// Creates a <see cref="WhereClause"/> that states <paramref name="column"/>'value is <c> &gt; </c> <paramref name="constraint"/>'s value.
 /// </summary>
 /// <param name="column">Column to apply the clause onto</param>
 /// <param name="constraint"></param>
 /// <returns></returns>
 public static WhereClause GreaterThan(this FieldColumn column, ColumnBase constraint) => new WhereClause(column, ClauseOperator.GreaterThan, constraint);
Esempio n. 4
0
 /// <summary>
 /// Creates a <see cref="WhereClause"/> equivalent to <code>column = constraint</code>
 /// </summary>
 /// <param name="column"></param>
 /// <param name="constraint"></param>
 /// <returns></returns>
 public static WhereClause EqualTo(this FieldColumn column, ColumnBase constraint) => new WhereClause(column, ClauseOperator.EqualTo, constraint);
Esempio n. 5
0
 /// <summary>
 /// Creates a <see cref="WhereClause"/> that states <paramref name="column"/>'value is <c> &lt; </c> <paramref name="constraint"/>'s value.
 /// </summary>
 /// <param name="column">Column to apply the clause onto</param>
 /// <param name="constraint"></param>
 /// <returns></returns>
 public static WhereClause LessThan(this IColumn column, ColumnBase constraint) => new WhereClause(column, ClauseOperator.LessThan, constraint);
Esempio n. 6
0
 /// <summary>
 /// Builds a <see cref="SubstractFunction"/> operation
 /// </summary>
 /// <param name="left">left operand</param>
 /// <param name="right">right operand</param>
 /// <returns></returns>
 public static SubstractFunction Substract(this ColumnBase left, IColumn right) => new (left, right);
Esempio n. 7
0
 public static IOrder Desc(this ColumnBase field) => new OrderExpression(field, OrderDirection.Descending);
Esempio n. 8
0
 public static IOrder Asc(this ColumnBase field) => new OrderExpression(field);
Esempio n. 9
0
 public override bool Equals(ColumnBase other) => Equals(other as StringValues);