nyk0r

llblgen group by

Nov 22nd, 2011
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.30 KB | None | 0 0
  1. IGroupByCollection groupingClause = new GroupByCollection();
  2. groupingClause.Add(EmployeePositionFields.ID);
  3. groupingClause.Add(EmployeePositionFields.Name);
  4. groupingClause.HavingClause = new  
  5.     PredicateExpression(
  6.          EmployeePositionFields.ID.SetAggregateFunction(AggregateFunction.Count) > 0);
  7.  
Advertisement
Add Comment
Please, Sign In to add comment