I need to load data of people and their phones. My entities are Person and PersonPhone.
In PersonPhone we have a list of phones of some person and only one is set as main phone.
I need to load a list of people including just the main phone. I don't want to retrieve all phone list of each person.
I can't do a query of Person and include PersonPhone because I don't know how to filter an include. Is it possible?