I want to use Dynamic Expressions and Queries in LINQ with a DefaultIfEmpty clause to get all of the rows from the two sets that don't match, or don't have a match. The end goal is to get the delta of the join of the two tables.
In table A I have:
Name | Description | Type
A | This is something | 1
B | Something else | 2
C | Where have I gone | 1
In table B I have:
Name | Description | Type
A | This is something | 1
B | Life is wonderful | 2
D | What happened to C | 2
I would like to get the results as:
Column | Table A | Table B
Name | B | B
Description | Something else | Life is wonderful
Type | 2 | 2
---
Column | Table A | Table B
Name | C | null
Description | Where have I gone | null
Type | 2 | null
---
Column | Table A | Table B
Name | null | D
Description | null | What happened to C
Type | null | 2