I would like to exlude a query result.
E.g I have:
Table_1 (Id, name)
Table_2 (Id, Table_1_Id)
And, I want to write query which return only the result from Table_1
which does not exist in Table_2
. It is a relation of one to many.
Any ideas ?
var query = db.Table_1.Include("Table_2").Where(????