I have something like this in a repository:
var results = db.EventSet.Include("Events")
.Include("TestResults")
.Include("Events.Donors")
.Include("Events.DonorPanels")
.Include("Events.Locations")
.Include("Events.DonorPanels.AgenciesDonors")
.Where(x => x.Events.Donors.DonorId == DonorId
&& x.Events.Active)
.OrderByDescending(x => x.Events.ScheduledDate)
.ThenByDescending(x => x.CreatedAt)
.ToList();
How can I see the SQL generated by EF for this?