@Jose Lara, Welcome to Microsoft Q&A, based on my test, I reproduce the same problem that x.ReportTimeStamp == y.ReportTimeStamp -->
this gives me zero results.
I used almost the same code in ef6 and ef core, but I get different results.
var test1 = context.Examples.Where(m => m.Id == 1003).OrderByDescending(m => m.ReportTimeStamp).FirstOrDefault();
var result = context.Examples.Where(m => m.ReportTimeStamp == test1.ReportTimeStamp).ToList();
database:
In ef 6.5.1
In ef core:
Therefore, I recommend that you could submit an issue in Github.
Hope it could help you.
Best Regards,
Jack
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.