Exemple #1
0
        protected override Expression VisitConstant(ConstantExpression node)
        {
            TableColumn column = _columnStack.Pop();

            var dbStringValue = ToDbValueStringMapper.Map(node.Value, column.DataType);

            _whereFilterBuilder.Append(dbStringValue);

            return(node);
        }
Exemple #2
0
        public string GetDbValueString(object obj)
        {
            var value = _property.GetValue(obj);

            return(ToDbValueStringMapper.Map(value, this.DataType));
        }