Esempio n. 1
0
            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)));
            }
Esempio n. 2
0
 public override ExpressionValue Evaluate(IValuesOf valuesOf)
 {
     //if you reach here, there's a big bug
     throw new NotImplementedException();
 }
Esempio n. 3
0
            public override ExpressionValue Evaluate(IValuesOf valuesOf)
            {
                var columnValues = valuesOf.CurrentRow(Column.Meta.TableName);

                return(new ExpressionValue(Type, columnValues[Column.Meta.Index]));
            }
Esempio n. 4
0
 public override ExpressionValue Evaluate(IValuesOf valuesOf)
 {
     return(new ExpressionValue(Type, valueType.Item2));
 }
Esempio n. 5
0
 public override ExpressionValue Evaluate(IValuesOf valuesOf)
 {
     return(new ExpressionValue(DbColumnType.String, Text));
 }
Esempio n. 6
0
 /// <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);