mongodb-.net-driver
How can I 'AND' multiple $elemMatch clauses with C# and MongoDB?
I am using the 10Gen sanctioned c# driver for mongoDB for a c# application and for data browsing I am using Mongovue.[详细]
2023-03-11 10:49 分类:问答Adding BSON array to BsonDocument in MongoDB
How can I add Bs开发者_JAVA技巧onArray to BsonDocument in MongoDB using a C# driver? I want a result something like this[详细]
2023-03-11 09:01 分类:问答Fetch inherited instances from MongoDB using C#
I\'m using the official MongoDb C# driver. My scenar开发者_StackOverflow社区io: I store objects into MongoDb. All objects are instances of classes that inherit from the same root class.[详细]
2023-03-10 19:15 分类:问答Creating MongoDB Unique Key with C#
I am fighting to create a unique field EmailAddress. I\'ve already seen in forums that I have to create an i开发者_StackOverflow中文版ndex, but it didn\'t work out for me so far. Does anyone have a co[详细]
2023-03-10 12:40 分类:问答When and how often should I be registering class maps in mongo?
At what point should I be registering class maps when using Mongo? I understand that auto mapping is fine most of the time, but I have a hierarchical class struc开发者_StackOverflow社区ture.[详细]
2023-03-10 12:29 分类:问答Insert document inside another document
how can I insert a document inside another document with mongodb ? I\'ve tried something like the code below but I always have a problem converting my list of setting in the field Settings:[详细]
2023-03-09 18:07 分类:问答shutting down Mongo server from C# Driver API
I want to shutdown the MongoDB server from my C# application when application exits. I am using RunAdminCommand of MongoServer object to do this. Below is the code snippet.[详细]
2023-03-09 05:21 分类:问答MongoDB array object Update and Page
I\'ve a entity class stored in MongoDB that looks similar to these: public class Theme { public ObjectId Id { get; set; }[详细]
2023-03-09 03:19 分类:问答MongoDB: Calling Count() vs tracking counts in a collection
I am moving our messaging system to MongoDB and am curious w开发者_高级运维hat approach to take with respect to various stats, like number of messages per user etc. In MS SQL database I have a table w[详细]
2023-03-07 03:03 分类:问答Access MongoDB Rest service with C#
I\'m a beginner with mongoDb, I would like to access MongoDb rest service, th开发者_如何学JAVAe data I retrieved is json type. My question is, how do you parse this data ? I don\'t find any MongoDb ap[详细]
2023-03-05 13:01 分类:问答