Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Working with Entity Collections and needs to take join on two entity lists.

(0) ShareShare
ReportReport
Posted on by 161

Hi team,

I have one requirement i.,e I have two entity collections one for Entity A another for Entity B.

lets suppose Entity A is Account 

and Entity B is some custom entity which has Account Lookup in it.

In Entity Collection 1 I am getting all the accounts which are having Task activity.

In Entity Collection 2 I am retrieving the custom entity collection with some complex fetch Xmlquery and it has Account field value in list.

Now I want to get only the accounts those are not having any Task related to them so that i need to create new tasks for those.

So how can i do this with some simple joins or may be some lists manipulation.

I am new to LINQ and all that stuff so it would be appreciated for any suggestions.

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans