I want to fetch some entities with some given IDs.
I can use prdicare expression and also use FetchEntity for each ID.
which one is faster?
for example i want to fecth Order entities with IDs of 1, 2, ..., 10.
I can use this manner :
FetchEntity(new Order(1));
FetchEntity(new Order(2));
...
FetchEntity(new Order(10));
and also i can use this :
PredicateExpression with predicates of
(ID = 1) OR (ID = 2) OR ... OR (ID = 10)
which one is faster?