Hi,
How do I create a dynamic list (Typed list) joining two entities not related?
I have this two tables CONTXT and OBJ_MAPPING_NX but they are not related, that is, no FK relations exists between CONTXT.contxt_id (numeric datatype) and OBJ_MAPPING_NX.obj_id (char datatype).
CONTXT table is part of an international military organisation standard, so there are parts of the design we cannot change.
I could create a view and wrap the statement into a TypedView, but the statement below is a special case checking an erroneous situation, so it is only implemented in an isolated location.
Also we are a fairly large organisation which leads to long turn-around time (approvement - implementation - new LLBLGen generation...) before a new view is accessible for the developers.
I would like to produce following simple statement:
SELECT CONTXT.contxt_id, OBJ_MAPPING_NX.obj_id, OBJ_MAPPING_NX.graph_id
FROM CONTXT LEFT OUTER JOIN
OBJ_MAPPING_NX ON CONTXT.contxt_id = OBJ_MAPPING_NX.obj_id
WHERE (CONTXT.tactical_layer_id = 'I')
Claus