From the course: MongoDB C# Developer Associate Cert Prep
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
MongoDB CRUD operations in C# review - MongoDB Tutorial
From the course: MongoDB C# Developer Associate Cert Prep
MongoDB CRUD operations in C# review
- In this unit, you learned how BSON documents are expressed in C#, how to perform basic CRUD operations with builders in C#, and how to create a multi-document transaction. When we build a C# application that connects to MongoDB, we want to be able to interact with the data in that application. We want to use the data and make sure our operations are ACID-compliant. We started by discussing how BSON documents are represented in C# using classes and builders. Then we moved on to basic CRUD operations in C#. We learned how to insert documents by using insertOne and insertMany, query documents by using Find with FirstOrDefault and ToList, update documents by using updateOne and updateMany, delete documents by using deleteOne and deleteMany. Finally, you learned how to create a multi-document transaction with MongoDB in C#. Now that you can perform CRUD operations with your C# application, try implementing an aggregation…
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Working with MongoDB documents in C#3m 11s
-
(Locked)
Inserting a document in C# applications3m 41s
-
(Locked)
Querying a MongoDB collection in C# applications4m 12s
-
(Locked)
Updating documents in C# applications4m 35s
-
(Locked)
Deleting documents in C# applications4m 25s
-
(Locked)
Creating MongoDB transactions in C# applications3m 11s
-
(Locked)
MongoDB CRUD operations in C# review1m 3s
-
(Locked)
-
-
-
-
-
-
-