Are you saying that this is not possible to do in LLBLGenPro Designer?
I'm afraid, yes....it's n ot possible.
If you want to fetch employers based on bill, you have to specify
relations. You can create utility methods to do so, but there won't be
properties on the entities which support this like with m:n relations.
What you want comes down to define a relation between any two entities
and define it as a m:n relation and llblgen pro under the hood generates code
which joins all these entities together. That's not supported. You should write
out these few lines of code to fetch the related entities.
In LLBLGen Pro, every entity gets properties for directly related
entities based on m:1/1:1/1:n and m:n relations. Entities which are indirectly
related, i.e. via another entity and not in an m:n form, are reachable via
that other entity though won't be available via a property, as they're already
available via that related entity. It would mean that you could read any
entity by just holding a bill entity, which is not a right thing to have.
Similar to why OrderDetails doesn't have a relation with Customer. It
has a relation with Order. To reach the customer, you've to navigate upwards
from order details to order and then to customer, simply because customer and
orderdetails have no direct relation, they're reachable in the graph, but only
indirectly. Same with his graph.