4516...@qq.com
unread,Jun 6, 2012, 5:41:43 AM6/6/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-csharp
I'm sorry for my poor English...
there is a class "Element" with a dictionary "Properties" in it
now I do a group
Group(query, "RefNo", initial, reduce, null)
so "Element" change to "BsonDocument" and I use
Element e = BsonSerializer.Deserialize<Element>(doc);
to get back to "Element"
but,this time the dictionary in class disappearanced.
could anyone help me to solve the problem in c#,thanks a lot!