mercredi 18 mars 2015

How to take random rows from database, so that they are not duplicated, throughout multiple calls

The problem is: I'm using C# + EF, and I need to take 20 random entries. After each next call, i need to append 20 more entries, randomed, but that weren't included in any previous function call. Is there any way to generate GUID based on seed, so that it would generate identical guids throughout all the calls ?


Aucun commentaire:

Enregistrer un commentaire