Пример #1
0
        /// <summary>
        /// Enqueue a new operation tuple with the 'Order' value name, the given expression and the method name.
        /// </summary>
        /// <param name="node">The operation tuple <see cref="Expression"/>.</param>
        /// <param name="methodName">The method name.</param>
        protected virtual void HandleOrder(Expression node, string methodName)
        {
            var orderExpression = new ODataOrderExpression {
                Expression = node, OrderMethodName = methodName
            };

            this.expressions.Enqueue(new OperationTuple {
                Name = "Order", Expression = orderExpression
            });
        }
 /// <summary>
 /// Enqueue a new operation tuple with the 'Order' value name, the given expression and the method name.
 /// </summary>
 /// <param name="node">The operation tuple <see cref="Expression"/>.</param>
 /// <param name="methodName">The method name.</param>
 protected virtual void HandleOrder(Expression node, string methodName)
 {
     var orderExpression = new ODataOrderExpression { Expression = node, OrderMethodName = methodName };
     this.expressions.Enqueue(new OperationTuple { Name = "Order", Expression = orderExpression });
 }