I need to select from a MySQL database using Entity Framework Core (with Pomelo provider), 10 random records where their IDs are between 1 to 600. Is it possible?
I tried dbContext.MyTable.OrderBy(r => Guid.NewGuid()).Take(10);
as stated in other threads, but apparently it won't work with MySQL.
Any ideas?