none
Dynamic where Linq RRS feed

  • Pergunta

  • Hi. I need to make a dynamic where in a linq clause using a string.

    eg:  

    string filter="x.Id > 100";

    var query = from x in ctx.Products

    where (filter)

    select x;

    Can anyone help me?

    domingo, 7 de julho de 2013 21:55

Respostas

Todas as Respostas