web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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

I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans