I’have been working around on how to properly implement the bellow task in a c# project.
It is pretendended to …
Get all data that exists in a particular database’s table(db1) but that does NOT EXISTS on another particular database’s table (db2)
both tables have common ids
I’ve faced lots of posts about this but it seems none solves my problem.
Any help?
EDITED:
Select all data
on table_x from database_x
Where item_id from table_x are not found inside table_y from database_y
=> return data in list format
This were the solution that I was looking for. Based on @user1949706’s answer I selected all data from both tables with LINQ (also from different databases) and I placed it on memory.
To fully answer my question on how to do this with LINQ here it is:
I would also thank Robert Rouse on his anwser to this question and everybody else who tried to help.
Hope it helps someone else!