Top "Mongodb-csharp-2.0" questions

Version 2.0 of the C# driver for MongoDB.

How do I log my queries in MongoDB C# Driver 2.0?

Just upgraded my application to the latest stable MongoDB C# Driver 2.0. During the migration, basic functionality has been broken and …

c# mongodb logging mongodb-.net-driver mongodb-csharp-2.0
MongoDb c# official driver bulk update

How can i rewrite the following old code via the new C# MongoDb driver which using IMongoCollection interface : var bulk = …

c# mongodb mongodb-.net-driver mongodb-csharp-2.0
mongodb c# select specific field

Need some help creating a generic method for selecting fields by their name. something like this: T GetDocField<T&…

c# mongodb mongodb-.net-driver mongodb-csharp-2.0
C# MongoDB.Driver GetServer is Gone, What Now?

From the mongoDB.Driver docs (http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-csharp-driver/) Get a Reference to a Server Object To …

c# .net mongodb mongodb-.net-driver mongodb-csharp-2.0
MongoDB C# driver 2.0 InsertManyAsync vs BulkWriteAsync

I have to insert many documents in a MongoDB collection, using the new C# 2.0 driver. Is using either collection.InsertManyAsync(...) …

c# mongodb mongodb-.net-driver mongodb-csharp-2.0
FindAll in MongoDB .NET Driver 2.0

I want to query my MongoDB collection without any filter with MongoDB .NET Driver 2.0 but I didn't find a way. …

c# .net mongodb mongodb-.net-driver mongodb-csharp-2.0
How to join multiple collections using Mongodb C# driver

I need to join 3 collections in aggregation with multiple $lookup I tried in C# driver it allow me to $lookup …

c# mongodb mongodb-csharp-2.0
How to Insert document to MongoDB and return the same document or it's ID back using InsertOneAsync in C# .Net

I'm writing a generic method to act like data access layer to insert document to MongoDB using C# .Net. My …

c# .net mongodb mongodb-csharp-2.0
Project on multiple fields in C# MongoDB 2.0

How do you project on fields in the new MongoDB C# drivers when the fields are given in the form …

c# .net mongodb mongodb-.net-driver mongodb-csharp-2.0