Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

Most efficient way to retrieve an entity collection by a range of IDs

$
0
0

I have a List<Guid> object with a bunch of IDs in it.

I would like to retrieve the records for the IDs in the list.

I have thought that maybe I could use a Multiple Request or maybe I could use a Query Expression with a loop to set each ID in an OR statement.  Maybe there is another way I haven't seen before.

Whatever I choose I would like it to be fast.




Viewing all articles
Browse latest Browse all 1000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>