Allow possibility of specifying the type to group with :)

This commit is contained in:
David Lebée
2018-03-12 17:23:02 -05:00
parent 9db5d74284
commit 165cc15d0a
5 changed files with 28 additions and 6 deletions
@@ -86,7 +86,7 @@ namespace PoweredSoft.DynamicLinq
if (groupBuilder.Empty)
throw new Exception("No group specified, please specify at least one group");
return QueryableHelpers.GroupBy(query, type, groupBuilder.Parts);
return QueryableHelpers.GroupBy(query, type, groupBuilder.Parts, groupBuilder.Type);
}
}
}