public override ExpressionValue Evaluate(IValuesOf valuesOf) { var left = Left.Evaluate(valuesOf); var right = Right.Evaluate(valuesOf); return(new ExpressionValue(DbColumnType.Bool, left.CompareTo(Operator, right))); }
public override ExpressionValue Evaluate(IValuesOf valuesOf) { //if you reach here, there's a big bug throw new NotImplementedException(); }
public override ExpressionValue Evaluate(IValuesOf valuesOf) { var columnValues = valuesOf.CurrentRow(Column.Meta.TableName); return(new ExpressionValue(Type, columnValues[Column.Meta.Index])); }
public override ExpressionValue Evaluate(IValuesOf valuesOf) { return(new ExpressionValue(Type, valueType.Item2)); }
public override ExpressionValue Evaluate(IValuesOf valuesOf) { return(new ExpressionValue(DbColumnType.String, Text)); }
/// <summary> /// this's used when there is no indexed column, so we have to get them from table /// </summary> /// <param name="valuesOf">function to get current row values</param> /// <returns></returns> public abstract ExpressionValue Evaluate(IValuesOf valuesOf);