Beispiel #1
0
 /// <summary>Write a human-readable explanation of this expression</summary>
 public override void WriteTo(FdbQueryExpressionStringBuilder builder)
 {
     builder.Visit(this.Source);
     builder.Writer.Write(".Lookup<{0}>(value {1} ", this.ElementType.Name, FdbExpressionHelpers.GetOperatorAlias(this.Operator));
     builder.Visit(this.Value);
     builder.Writer.Write(")");
 }
Beispiel #2
0
        /// <summary>Visit a Binary expression</summary>
        protected override Expression VisitBinary(BinaryExpression node)
        {
            Visit(node.Left);
            m_writer.Write(" {0} ", FdbExpressionHelpers.GetOperatorAlias(node.NodeType));
            Visit(node.Right);

            return(node);
        }