Exemple #1
0
            private GroupAggregationCollection Aggregate(GroupAggregationMethod method, string name, string alias = null)
            {
                if (string.IsNullOrEmpty(name))
                {
                    throw new ArgumentNullException(nameof(name));
                }

                _members.Add(new GroupAggregation(GroupAggregationMethod.Count, name, alias));

                return(this);
            }
Exemple #2
0
 public GroupAggregation(GroupAggregationMethod method, string name, string alias)
 {
     this.Method = method;
     this.Name   = name;
     this.Alias  = alias;
 }