Re: Expression for checking if a to-many relationship contains an object

2016-03-26 Thread Hugi Thordarson
> On 25. mar. 2016, at 17:46, Andrus Adamchik wrote: > > >> On Mar 25, 2016, at 7:45 PM, Hugi Thordarson wrote: >> >> Hi all! >> >> Subject says it all, really. How do I write an Expression to fetch all >> records where a to-many relationship contains an object. >> >> For example, let’s say

Re: Expression for checking if a to-many relationship contains an object

2016-03-25 Thread Andrus Adamchik
> On Mar 25, 2016, at 7:45 PM, Hugi Thordarson wrote: > > Hi all! > > Subject says it all, really. How do I write an Expression to fetch all > records where a to-many relationship contains an object. > > For example, let’s say a “Person” entity has a to-many relationship to an > “Employment"

Expression for checking if a to-many relationship contains an object

2016-03-25 Thread Hugi Thordarson
Hi all! Subject says it all, really. How do I write an Expression to fetch all records where a to-many relationship contains an object. For example, let’s say a “Person” entity has a to-many relationship to an “Employment" entity, which is then linked to a “Company” entity. And I want to fetch