Posts by AndreR • 63 points
2 posts
-
1
votes1
answer168
viewsQ: Dynamic Linq Ordering using System.Linq.Dynamic
I’m trying to sort a list using the library System.Linq.Dynamic, follows the code excerpt: list = db.TABELA.Where(consulta.Colum + ".Contains(@0) ", consulta.filtro).OrderBy("@0 ",…
-
5
votes3
answers1037
viewsQ: Where dynamic Linq to SQL
I need to build a clause where with the field and dynamic value, for example, in pure SQL would be: WHERE :CAMPO = :VALOR However, searching the research I could not find anything specific, I’m…