I need to translate this query into EF Core
SELECT * FROM Release AS r1
WHERE r1.Status = 'Complete' AND
r1.UpdateDate = (
SELECT MAX(UpdateDate)
FROm RELEASE AS r2
WHERE r2.Platform = r1.Platform AND
r2.Status = 'Complete'
);
And it was great to have an idea how to write the same query using the specification pattern. There are not so many examples on the Internet about this, and nothing at all about correlated queries