I have a custom entity called 'client'. I have a many-many relationship with this same entity(client). How can I query records based on a criteria. Any links to the answer?
It'd be great if it has LINQ in it, but okay other wise too. I 'm not able to get it working on either. Thanks
Please refer the MSDN link in which you will find sample for N:N relationship retrieve Via Fetch, Query and Linq.
for Linq refer the below blog.
Please consider the below blog as you are using the self referential N:N relationship.
You can also use the advance find to construct the query and use Fetchexpression.
check this link you get an idea