Summary
In this chapter, we saw how we can execute basic CRUD operations on our resources inside DocumentDB. We had a look at how to use SQL for DocumentDB, LINQ to objects, and plain LINQ. The importance of the SelfLink
property was emphasized and we discussed how to enable your POCOs to contain this property. Next, we performed some basic querying operations by using simple WHERE
clauses. Then, we demonstrated how to update resources and how to work with the specific DateTime
fields by using epoch values. Finally, we saw how to delete documents from your collection.
In the next chapter, we will focus on more advanced querying techniques. We will also outline creating triggers, stored procedures, and user-defined functions.