Skip to content

Commit

Permalink
Use AsSplitQuery when fetching more than one collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacelord-XaN committed Jan 15, 2023
1 parent 48a1c0c commit a2dfbfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BraunauMobil.VeloBasar/Data/TransactionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public static IQueryable<TransactionEntity> IncludeAll(this IQueryable<Transacti
.Include(t => t.Products)
.ThenInclude(pt => pt.Product)
.ThenInclude(p => p.Type)
.AsSplitQuery()
;
}

Expand Down

0 comments on commit a2dfbfe

Please sign in to comment.