I want to query a random row from a table per Entity Framework.
The best solution I can think of in the moment is getting the total count from the table, then making per C# a function to get a random number in the range of the count and then query this random row number.
My problem is that I can't figure out how to directly query a certain row number per Entity Framework. I want to prevent that I need to query the whole table and then select the row number from there.
Or do I have here a general misunderstanding and there is a much simpler way?