I didn't realize you had deleted the post. I responded by email, which may
have resurrected the post.
In any case, here's what I replied in mongodb-user:
===== original reply in mongodb-user =====
BsonSerialize.Deserialize is designed to deserialize a single document at a
time.
However, you could write your conversion from IEnumerable<BsonDocument> to
IEnumerable<NominalType> on a single line of code:
return bsonDocs.Select(b =>
BsonSerializer.Deserialize<MyNominalType>(b));
which is essentially doing the same thing but using the LINQ Select method.
=====
On Mon, Jul 9, 2012 at 9:18 AM, Alex Brown <a
...@alexjamesbrown.com> wrote:
> Thanks..
> Had deleted that post due to this group (mongodb-csharp) being the right
> place for it...
> not sure if posts can be moved across groups?
> anyway, thanks again
> On 9 July 2012 14:16, Robert Stam <rob...@10gen.com> wrote:
>> mongodb-user