Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var projection = projectionAction(Builders<collection>.Projection);
- var cursor = collection.Find(x => Ids.Contains(x.Id)).Project<collection>(projection).ToCursor();
- return cursor.ToEnumerable();
Add Comment
Please, Sign In to add comment