1
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 ", "codigo").Take(10).ToList();
but the result, in this case, is always the same, I have tried in some ways (DESC, ASC
), it comes to the original ordering of the bank. I’m trying to order in descending order and I can’t. Can anyone help me? Thanks from now!
Only with this it is difficult to help. It needs context. In a general way this n]ao is to work even.
– Maniero