Hi Friends,
I'm facing the strange issue while querying the records in CRM using Linq. Fields are returned as null though those are having the value.
EX:
When I queried business unit default team value using Linq it returned null but businessunitid was returned for the record.
Sample Query:
var defaultteam= from bu in orgContext.CreateQuery("businessunit")
where bu["businessunitid"]== new Guid("Guid")
select bu["defaultteam"]
And when I query the same using QueryByAttribute/FetchXML it returned the value.
Have anyone faced this kind of issue?