Good afternoon everyone.
I have a problem in my code and already broke my head and I can not understand why the error
var query = from r in context.RECEBER
join c in context.CLIENTE on r.CLI_ID_CLIENTE equals c.CLI_ID_CLIENTE
where (r.REC_ID_RECEBER.Equals(Whereint)) || (Whereint.Equals("0"))
orderby (r.REC_ID_RECEBER) ascending
select new { r, c };
foreach (var item in query)
{
receberretorno.Add(item.r);
}
the problem in this
foreach (var item in query)
he says that the arguments are not comparable, but the two variables are var.
Could someone help me?
...
Go to the complete details ...