Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created March 14, 2021 09:09

Revisions

  1. wullemsb created this gist Mar 14, 2021.
    5 changes: 5 additions & 0 deletions CustomersSplitted.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    var customers = database
    .Customers
    .AsSplitQuery()
    .Include(m => m.Orders)
    .ThenInclude(c => c.Products);