Exemple #1
0
        public static OrderBy ThenBy(this OrderBy orderBy, FieldRef fieldRef)
        {
            List <FieldRef> fields = orderBy.FieldRefs.ToList();

            fields.Add(fieldRef);
            orderBy.FieldRefs = fields;
            return(orderBy);
        }
Exemple #2
0
        public static GroupBy ThenBy(this GroupBy groupBy, FieldRef fieldRef)
        {
            List <FieldRef> fields = groupBy.FieldRefs.ToList();

            fields.Add(fieldRef);
            groupBy.FieldRefs = fields;
            return(groupBy);
        }