Jaima Joseph

Jaima Joseph

  • NA
  • 94
  • 107.5k

How to select random records using LINQ from database

Apr 3 2014 1:09 AM

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)