标签:datetime ref arp 数据 bsp int sharp date current
http://api.mongodb.com/csharp/current/html/T_MongoDB_Bson_BsonDocument.htm
如何取出document中的数据
BsonDocument book;
string author = book["author"].AsString;
DateTime publicationDate = book["publicationDate"].AsDateTime;
int pages = book["pages", -1].AsInt32; // default value is -1
标签:datetime ref arp 数据 bsp int sharp date current
原文地址:http://www.cnblogs.com/chucklu/p/6490756.html