Introduction to MongoDb with .NET part 18: insertions in the MongoDb driver
April 28, 2016 2 Comments
Introduction
In the previous post we looked at 4 functions related to refining our searches: limiting, skipping, sorting and counting. We saw that they were quite easy and straightforward to use. The sort function was the most versatile in the sense that there are multiple ways to build sort definitions for our queries.
In this post we’ll look at how to insert documents via the MongoDb driver.