Zuletzt aktiv 2 weeks ago

Änderung 8a8f6d4f9b3757b357f4719d9d00fa23745453da

insta_pr_decline.md Originalformat
  1. N+1 Queries
foreach (var item in items)
{
  await _context.Items.FirstOrDefaultAsync(x => x.Id == item.id);
  // Logic
  await _context.SaveChangesAsync();
}```

2. 3+ Includes without AsSplitQuery()
```C#
_context.Users
  .Include(u => u.Roles)
  .Include(u => u.Events)
  .Include(u => u.Installations)
  .ThenInclude(i => i.Meters)
  .ToListAsync();
  1. Todos without issues
var theThing = getTheThing(); // TODO: Do the right thing!