zzz projects Dynamic LINQ
Home
Documentation GitHub Knowledge Base  Help & Donate
Online Examples
  • Home
  • Documentation
  • GitHub
  • Knowledge Base
  • Help & Donate
  • Online Examples
  •   Download  

Dynamic LINQ - Knowledge Base (KB)

3 results in tag: group-by

Dynamic Linq Group By

I am currently building reports and have a need to Group columns dynamically, depending on user's choice. Now, assuming that the situation is fixed on all columns, the query would be as follows:...var groupedInvoiceItems = invoiceItems.GroupBy(x => new { ...
c# dynamic dynamic-linq group-by linq
asked by Mr. 笑哥

C# LINQ - How to build Group By clause dynamically

I am working on the application where user can select columns he/she wants to see on the screen and which columns to group by or aggregate. So, in my LINQ section I should actually pass variables that hold column names to both group by and aggregate clau...
aggregate c# dynamic-linq group-by linq
asked by superconsultant

EF Select records distinct by one field from Entity

I need to "translate" this code sample:...using var db = new MyDbContext(); var simple_linq = db.USERS.GroupBy(u => u.id_employee).Select(u => u.FirstOrDefault()).ToList(); //it's worked fine for me ...to same code with Dynamic LINQ. I've try:...var dynam...
c# dynamic-linq entity-framework group-by linq
asked by Vlad i Slav

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!