Extension method LeftJoin

Required Nuget Package:
Thinktecture.EntityFrameworkCore.Relational

Convenience method for performing LEFT JOINs.

var customerOrder = await ctx.Customers
                             .LeftJoin(ctx.Orders,
                                       c => c.Id,
                                       o => o.CustomerId,
                                       result => new { Customer = result.Left, Order = result.Right })
                             .ToListAsync();