In this chapter, I will discuss and demonstrate how all of the typical database operations are performed with LINQ to SQL. Specifically, I will cover how to perform
After I discuss the standard database operations, I will demonstrate how you can override the default insert, update, and delete methods an entity class uses to persist changes to the database.
The last topic I will cover is the automatic translation of LINQ to SQL queries, including what to be mindful of when writing queries.
In order to discuss the standard database operations, I will have to refer to the DataContext and relevant entity classes. I am aware that I have not provided much detail yet as to how entity classes ...