I have following table
itemstatus(id, itemcode, itemstatus) with values
from this, I want to fetch the itemcode with item status "Expired" but it doenst have row with "returned toagency". From the above table, it should show E126, E128. and it should not show E123,E124,E129 because its has also has rows with status "Returned To Agency".
How can write an entity framework query to fetch this
Please help me