From a2dfbfefd04370e5d69cfa9ed2a6f7755ef8620d Mon Sep 17 00:00:00 2001 From: Alexander Kastler Date: Sun, 15 Jan 2023 15:45:32 +0100 Subject: [PATCH] Use AsSplitQuery when fetching more than one collection --- src/BraunauMobil.VeloBasar/Data/TransactionExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BraunauMobil.VeloBasar/Data/TransactionExtensions.cs b/src/BraunauMobil.VeloBasar/Data/TransactionExtensions.cs index c0137fbe..e120b852 100644 --- a/src/BraunauMobil.VeloBasar/Data/TransactionExtensions.cs +++ b/src/BraunauMobil.VeloBasar/Data/TransactionExtensions.cs @@ -34,6 +34,7 @@ public static IQueryable IncludeAll(this IQueryable t.Products) .ThenInclude(pt => pt.Product) .ThenInclude(p => p.Type) + .AsSplitQuery() ; }