protected override void Execute() { string sql = EvaluatorUtil.Execute <string>(Sql, ("dataSet", DataSet), ("table", Table), ("row", Row), ("resolver", Resolver)); DbUtil.ExecuteNonQuery(sql, Resolver.Context); }
public bool IsFitFor(object value, object rowValue) { string expression = Expression.Execute(Condition); //value = HrefDisplayConfig.ResolveRowValue(rowValue, value, value); return(EvaluatorUtil.Execute <bool>(expression, ("value", value), ("row", rowValue))); }
public string DisplayValue(object value, Tk5FieldInfoEx field, IFieldValueProvider rowValue) { if (string.IsNullOrEmpty(Content)) { return(string.Empty); } return(EvaluatorUtil.Execute <string>(Content, ("value", value), ("row", rowValue))); }
public bool Test() { return(EvaluatorUtil.Execute <bool>(Condition)); }