protected static void FixColumnMeta(ValueExpression valEx, ColumnExpression colEx)
 {
     if (valEx != null && colEx != null)
     {
         valEx.ColumnMeta = colEx.Column.Meta;
     }
 }
 public override void Visit(ValueExpression e)
 {
     _expression.Values = e;
 }
        public virtual void Visit(ValueExpression e)
        {
            if (e.Value == null)
            {
                throw new NotSupportedException("Null values should be handled by NullExpression");
            }

            var paramName = $"wp{_parameters.Count}";
            _sql.AppendFormat("{0}{1}", _provider.ParameterPrefix, paramName);
            _parameters.Add(paramName, new CommandParameter
            {
                Name = paramName,
                Value = e.Value,
                ParameterMeta = e.ColumnMeta.ParameterMeta
            });
        }
 public virtual void Visit(ValueExpression e)
 {
     throw new NotSupportedException();
 }