How can I convert next SQL query to Entity Framework
SELECT
customers."CustomerId",
customers."CustomerName",
"Orders"."OrderId",
"Orders"."Description",
"Orders"."CustomerId",
"OrderDetails"."OrderDetailId",
"OrderDetails"."Article",
"OrderDetails"."OrderId"
FROM
"Orders"
RIGHT OUTER JOIN customers ON ("Orders"."CustomerId" = customers."CustomerId")
LEFT OUTER JOIN "OrderDetails" ON ("Orders"."OrderId" = "OrderDetails"."OrderId")
What I have tried:
public List<customers> GetAll()
{
var custord= _dbContext.customers .Include(x => x.Order) .Include(x => x.OrderDetails) .ToList(); return custord;
}
The problem: If I have Order without OrderDetail information I can not get all records.

This is solution, thanks all: