I'm getting the "Enumeration yielded no results" in the following statement. Please I don't what went wrong:
QueryByAttribute query = new QueryByAttribute()
{
EntityName = "duplicaterecord",
ColumnSet = new ColumnSet(true)
};
query.Attributes.Add("asyncoperationid");
query.Values.Add(_response.JobId);
EntityCollection en_Col = sp.RetrieveMultiple(query);
//// check to make sure each id is found in the collection
var duplicateIds = en_Col.Entities.Select((entity) => ((DuplicateRecord)entity).BaseRecordId.Id);
*This post is locked for comments
I have the same question (0)