score:0

Accepted answer

The bug with using multiple .Include() in EF Core 2 is fixed. Look forward to the next public build of dotConnect for Oracle.

score:1

Is due to your statement:

var entities = helpTopicRepository.Entities.Include(x => x.HelpArticles).FirstOrDefault(t => topicIds.Any(a => a == t.Id));

Assuming that topicIds is a list, here is a fix:

var entities = helpTopicRepository.Entities
    .Include(x => x.HelpArticles)
    .Where(t => topicIds.Contains(t.Id))
    .FirstOrDefault();

Related Articles