Hi, I think it is like this, but just to make sure. If you use prefetchPath is always returns a collection. Right.
But only if there are records to fetch, of course.
So in the BL there has to be logic to retrieve just a single record, even if you can be sure the collections will only have one or null values. I mean when a employee can only be part of one department using prefetchpath to retrieve the department the employee belongs to, it will return only one record. Right? But this is still a collection, so I have to use something like
collection[0] to get this record.
Just to make sure. Right?