Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
We're using CRM 2015 early bind to query and update CRM from a web service, we're using linq query to retrieve data, we've used the SDK generated objects from Microsoft.Xrm.Client.CrmOrganizationServiceContext like:
public System.Linq.IQueryable<Crm.Context.Account> AccountSet
then we're using
var myAccount = _context.AccountSet.FirstOrDefault(p => p.myCustomId == myCustomValue);
The problem is myAccount doesn't have the latest data updated by a separated event service(this event service is using CRM SDK to do the updates to CRM), like when event service has updated
myAccount.mySecondCustomId = 9000000001, but when we use the linq query to retrieve the entity, we're getting myAccount.mySecondCustomId as null which is the old value.
Is there a way we can force the linq query to get the latest data from CRM?
Your help is great appreciated.
can you send a screenshot of your code for more help?
Business Applications communities