protected override Expression VisitConstant(ConstantExpression node) { TableColumn column = _columnStack.Pop(); var dbStringValue = ToDbValueStringMapper.Map(node.Value, column.DataType); _whereFilterBuilder.Append(dbStringValue); return(node); }
public string GetDbValueString(object obj) { var value = _property.GetValue(obj); return(ToDbValueStringMapper.Map(value, this.DataType)); }