Exemplo n.º 1
0
        public void CreateSequence_GroupBy()
        {
            Sequence sequence = factory.CreateSequence(factory.CreateGroupBy(null), null);

            Assert.IsNotNull(sequence);
            Assert.IsInstanceOfType(typeof(GroupBy), sequence.LeftNode);
            Assert.IsNull(sequence.RightNode);
        }
Exemplo n.º 2
0
 /// <summary>
 /// GROUPBY
 ///     | FieldListRule
 /// </summary>
 /// <returns>AST GroupBy Tree</returns>
 private GroupBy GroupByRule()
 {
     return(_astFactory.CreateGroupBy(FieldListRule()));
 }