llblgen v2.6
dotnet 2.0
Hi
In database it is possible to write a sql query joining the 2 tables together without having to have PK-FK relationship.
For instance:
Employee
Name
DOB
Visitor
Name
DateOfVisit
select employee.name, employee.dob from employee join visitor on employee.name = visitor.name where DateOfVisit='01/01/2008'
I cannot build this using RelationPredicateBucket because there's no Visitor-to-Employee-relationship since there's no PK/FK relationship exists in the table. I also cannot create a custom relations because there's no PK nor FK defined in the employee and visitor tables
QUESTION:
How to I achieve such query using llblgen. I don't want to do 2 queries, 1 is to query the visitor to get the name then query the employee to get the employee info.
Thanks
BZ