Hi!
Got a question.
I have a resultset with a rather complex relation/predicate bucket. There are multiple subqueries and some of them look the same for the larger part.
Something like this (in pseudo SQL):
SELECT Fields FROM Table1 WHERE Fieldx IN (SELECT Field FROM Table2 AS Alias1 WHERE conditions) AND Fieldx IN (SELECT Field FROM Table2 AS Alias 2 WHERE conditions)
The conditions in both subqueries are the same, except for one or two expressions. So for all the expressions that are the same I would like to make one predicate-filter for all the expressions that are the same in subquery 1 and subquery 2. And then reuse it in the FieldCompareSetPredicate. Problem is that the Table2 has different Aliasses in Subquery 1 and Subquery 2. Is there a way to set an aliase for an entire predicate or set it at the time I add the FieldCompareSetPredicate? Or a different solution?
I use LLBLGen 1.0.2005.1, Adapter, C#, .NET 2.0.
Thanks alot!
Rene Lergner, Prodist Software.