I am using EF 7.0.0-rc1-final.
The following statement generates multiple queries on the server. Is this normal or I am missing something ?
Group myGroup = dbContext_
.Set<Group>()
.Include(x => x.GroupRoles)
.ThenInclude(x => x.Role)
.FirstOrDefault(x => x.Name == "Approver");
I see two separate queries executed on the server:
And
It's a standard many-to-many scenario. Why is the first query ?
Thanks