Hi,
I'm running LLBLGen 3.5/.NET 4.0 (Self-Servicing | NO adapter), and I was wondering how I can self join a table using a non-PK and partial compound-PK ON clause. i.e.
Table A
----------
PKA1
PKA2
PKA3
C1
Where A1+A2+A3 are a compound PK, and I would like to run the following:
SELECT
FROM A ab LEFT JOIN A cd
ON (ab.C1 = cd.PKA3)
WHERE ab.C1 = 'X' AND cd.PKA1 = 'Y'
There are more filtering and extra self-joining going on that would give me the correct dataset (I have omitted them for simplicity). I would like to know how I can implement the above in LLBLGen (self-servicing).
Thank you.