I am wondering if anyone can help me. I am new to LINQ and still trying to understand how it fits together.
I have a simple left join query in SQL, returning all transactions that are on table 1 that do not exist in table 2. Both tables are identical in structure.
SELECT Table1.*
FROM Table1 LEFT JOIN Table2 ON Table1.DealReference = Table2.DealReference
WHERE (((Table2.DealReference) Is Null));
Can someone please guide me, how to achieve the same in LinQ.
I am using the following DataTables:
Dim currentDataTable = _DataTable1.AsEnumerable
Dim previousDataTable = _DataTable2.AsEnumerable
I am looking to have the results output back into a datatable.
Thanks
BM