Exemplo n.º 1
0
 public virtual void Visit(PolyadicOperatorExpression node)
 {
     for (int i = 0, len = node.Arity; i < len; ++i)
     {
         VisitInternal(node.GetOperand(i));
     }
 }
Exemplo n.º 2
0
            private void VisitPolyadicOperatorExpression <T>(PolyadicOperatorExpression <T> expression, string operatorString)
                where T : PolyadicOperatorExpression <T>
            {
                var sqlExpressions = expression.Expressions.Select(x => Create(x, _commandParameterFactory, _tableName)).ToList();

                CommandParameters = sqlExpressions.SelectMany(x => x.CommandParameters).ToList();
                var commandText = string.Join(operatorString, sqlExpressions.Select(x => x.ConstraintCommandText));

                ConstraintCommandText = string.Format("({0})", commandText);
            }
Exemplo n.º 3
0
 public void Visit(PolyadicOperatorExpression node)
 {
 }