Is it possible using FetchEntity to supply both a relation (i.e. PersonEntity.Relations.DemographicsEntityUsingPersonOid) with a prefetch path (i.e. PersonEntity.PrefetchPathQualification)
I have a data model with Person 1:1 Demographics, and Person 1:M Qualifications and I wanted to achieve my fetch with a 2 query structure of
SELECT *
FROM dbo.Person INNER JOIN
dbo.Demographics ON dbo.Person.PersonOID = dbo.Demographics.PersonOID
WHERE PersonOID = @PersonOID
SELECT *
FROM Qualification
WHERE PersonOID = @PersonOID
Currently I am using prefetch paths and I am executing 3 queries when loading this single entity. This isn't causing issues, but I was wondering if this was possible some how with LLBLGenPro?