urfnet / URF.NET

Unit of Work & Repositories Framework - .NET 4.x
http://blog.longle.io
MIT License
198 stars 55 forks source link

GroupBy support? #49

Open rapidclarity opened 6 years ago

rapidclarity commented 6 years ago

Perhaps I am simply missing something obvious, but I am unable to see a way to perform a simple GroupBy on these generic repositories that will occur at the SQL level. Is this functionality currently supported by the generic repositories created by URF.NET?

maximejobin commented 5 years ago

GroupBy is supported by Queryable in System.Linq.

It is not a function coded in URF.NET but it works perfectly.

Example:

_repository.Queryable.GroupBy(...);