예제 #1
0
 // <summary>
 // Initializes method ast node.
 // </summary>
 internal MethodExpr(
     Node expr,
     DistinctKind distinctKind,
     NodeList <Node> args)
     : this(expr, distinctKind, args, null)
 {
 }
예제 #2
0
 /// <summary>
 ///     Initializes method ast node.
 /// </summary>
 internal MethodExpr(
     Node expr,
     DistinctKind distinctKind,
     NodeList<Node> args)
     : this(expr, distinctKind, args, null)
 {
 }
예제 #3
0
 /// <summary>
 /// Initialize SelectKind.SelectRow clause.
 /// </summary>
 internal SelectClause(NodeList <AliasedExpr> items, SelectKind selectKind, DistinctKind distinctKind, Node topExpr, uint methodCallCount)
 {
     _selectKind        = selectKind;
     _selectClauseItems = items;
     _distinctKind      = distinctKind;
     _topExpr           = topExpr;
     _methodCallCount   = methodCallCount;
 }
예제 #4
0
 // <summary>
 // Initialize SelectKind.SelectRow clause.
 // </summary>
 internal SelectClause(
     NodeList<AliasedExpr> items, SelectKind selectKind, DistinctKind distinctKind, Node topExpr, uint methodCallCount)
 {
     _selectKind = selectKind;
     _selectClauseItems = items;
     _distinctKind = distinctKind;
     _topExpr = topExpr;
     _methodCallCount = methodCallCount;
 }
 internal MethodExpr(
   Node expr,
   DistinctKind distinctKind,
   NodeList<Node> args,
   NodeList<RelshipNavigationExpr> relationships)
   : base(distinctKind)
 {
   this._expr = expr;
   this._args = args;
   this._relationships = relationships;
 }
예제 #6
0
        /// <summary>
        /// Intializes a method ast node with relationships.
        /// </summary>
        internal MethodExpr(Node expr,
                            DistinctKind distinctKind,
                            NodeList <Node> args,
                            NodeList <RelshipNavigationExpr> relationships) : base(distinctKind)
        {
            Debug.Assert(expr != null, "expr != null");
            Debug.Assert(args == null || args.Count > 0, "args must be null or a non-empty list");

            _expr          = expr;
            _args          = args;
            _relationships = relationships;
        }
예제 #7
0
        /// <summary>
        /// Intializes a method ast node with relationships.
        /// </summary>
        internal MethodExpr(Node expr,
                            DistinctKind distinctKind,
                            NodeList<Node> args,
                            NodeList<RelshipNavigationExpr> relationships) : base(distinctKind)
        {
            Debug.Assert(expr != null, "expr != null");
            Debug.Assert(args == null || args.Count > 0, "args must be null or a non-empty list");

            _expr = expr;
            _args = args;
            _relationships = relationships;
        }
예제 #8
0
 /// <summary>
 /// Initializes GROUPPARTITION expression node.
 /// </summary>
 internal GroupPartitionExpr(DistinctKind distinctKind, Node refArgExpr)
     : base(distinctKind)
 {
     _argExpr = refArgExpr;
 }
예제 #9
0
 internal GroupAggregateExpr(DistinctKind distinctKind)
 {
     DistinctKind = distinctKind;
 }
 internal GroupAggregateExpr(DistinctKind distinctKind)
 {
     DistinctKind = distinctKind;
 }
 /// <summary>
 /// Initializes GROUPPARTITION expression node.
 /// </summary>
 internal GroupPartitionExpr(DistinctKind distinctKind, Node refArgExpr)
     : base(distinctKind)
 {
     _argExpr = refArgExpr;
 }
 internal MethodExpr(Node expr, DistinctKind distinctKind, NodeList<Node> args)
   : this(expr, distinctKind, args, (NodeList<RelshipNavigationExpr>) null)
 {
 }