I am using Entity Framework in my C# based code. I am running into an unexpected weirdness and am looking for suggestions.
Case 1, 2, 3, 4...
Projects:
RivWorks
In my case, I had the
Using System.Linq;
but I was missing the && after a where clause item.
Bad Code:
item.Group.ID == grp.ID
p.Product_Status_Flag == 1 &&
item.Valid
Correct Code ( with no error ):
item.Group.ID == grp.ID && // <- This was missing and I didn't see it right away.
p.Product_Status_Flag == 1 &&
item.Valid
I hope this saves someone some time.