Hi,
Im sorry for my trivial question, but I am a beginner in Dynamics365 programming.
I have this code:
using (OrganizationServiceContext orgSvcContext = new OrganizationServiceContext(_orgService))
{
var query_join = from c in orgSvcContext.CreateQuery("lead")
select new
{
subject = c["subject"],
fullname = c["fullname"],
description = c["description"],
};
... ...
... ...
the code goes in error only for records with null value for fullname attribute, but I want get all records, also with null "fullname".
This is the error: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary
Could you help me?
Thanks.
Giuseppe.

Report
All responses (
Answers (