Randomly Return Rows in EFCore with Postgresql
Currently working on a random list motorcycles to display on my front. At the moment don't have any priority listening on my site for clients other than the list of bikes I'm trying to sell personally as a source of income. For now this is what I did and its just these two parts to get things going. something . OrderBy ( r => Guid . NewGuid ()). Take ( 3 ) If you don't already have the extension this command will check and install for you. CREATE EXTENSION IF NOT EXISTS "uuid-ossp" ;