To fetch this in one go in EF Core, you can use the following LINQ query: var customers = database .Customers .Include(m => m.Orders).
確定! 回上一頁