mongodb-.net-driver
Rename field of complex type that is located in array
I\'m doing refactoring on production database and need to make some renamings. Version of mongodb is 1.8.0. I use C# driver to do refactoring of database. Have faced with problem when I try to rename[详细]
2023-03-29 15:08 分类:问答How to time a MongoQuery from C#
I try 开发者_StackOverflow中文版to timed a Mongo query in C# on a column with an index: DateTime startTime = DateTime.Now;[详细]
2023-03-29 14:14 分类:问答C# Dynamic Linq Query with Fluent Mongo - Without using Contains or PredicateBuilder
I\'m using Fluent Mongo and having issues creating a dynamic linq query because Fluent Mongo doesn\'t support Contains.I basically need to have a nested OR statement within my Where to check if an Enu[详细]
2023-03-28 20:20 分类:问答Execute mongodb shell script via C# driver
I have read this question and haven\'t understand. Is there abili开发者_Python百科ty to execute arbitrary mongodb shell script via C# driver?var mongoServer = MongoServer.Create(\"mongodb://<connec[详细]
2023-03-27 11:54 分类:问答About using MongoDB and Linq. What's better or worse with Norm?
I\'d like to use MongoDB with Linq, simply because I do not like to not being able to check the query at compile time.[详细]
2023-03-27 09:27 分类:问答How does MongoDB deal with concurrent updates?
I started to use MongoDB at work so 开发者_运维知识库far so good. I was wondering though how does MongoDB deal with concurrent updates ?[详细]
2023-03-27 07:38 分类:问答Is it possible to have relation between object in a MongoDB database?
I am using MongoDB at work these days. So far, I find it a great experience. Howeve开发者_高级运维r I am asked to make relations between collections with MongoDB. This goes against the purpose of the[详细]
2023-03-27 05:41 分类:问答MongoDB geospatial index in C#
I have been trying to get started but run into the same rock time after time trying to create and query MongoDB with C# official driver. The problem is how to create data with geo information. I am ju[详细]
2023-03-26 16:55 分类:问答What is the best way to show LocalTime for a DateTime set to UTC?
I\'m currently using ASP.NET MVC3 and MongoDB for a web app.MongoDB uses UTC and the server hosting the app is also using UTC. If I use DateTime.ToLocalTime() in the View that will just return the ser[详细]
2023-03-26 00:55 分类:问答How do I mock MongoDB objects to test my data models?
I\'m using the following logic (MOQ) to attempt to mock out the MongoDB csharp driver objects: var svr = new Mock<MongoServer>(new MongoServerSettings());[详细]
2023-03-25 16:27 分类:问答