3
Answers

How to select random records using LINQ from database

Ask a question
Jaima Joseph

Jaima Joseph

10y
4.4k
1

Hi,

In my MVC application , I have to fetch random records from database using LINQ  and it should be assigned to different employees. i.e., if we have 50 records in table and 5 Employees are there, records should be fetched randomly and these fifty should be distributed(assigned )to these 5 employees as 10 for each one.

If possible please help......
 
Thanks in advance. 

Answers (3)