0

So I have a repository of objects that I'm looking at and I want to select the default 3 random items from it. I want to do this without retrieving all the items and then select the 3, I want the logic that randomizes to happen before anything else and want to do that all in one LINQ query. I'm thinking this is possible.

I'd use the query in a single method with a default parameter that signifies the number of items wanted through that query.

user3046061
  • 353
  • 4
  • 14

0 Answers0