Entity Framework Core 5 includes several ways to aggregate your data. In this chapter, I will be covering count, min, max, average, sum, and group by. The group by clause is often used in conjunction with the aggregation operations. I will cover the simple operators first and then show how to use them with group by.
12. Aggregations
Get Beginning Entity Framework Core 5: From Novice to Professional now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.