Making and Submitting Data Changes

 

The topics in this section describe how to make and transmit changes to the database and how to handle optimistic concurrency conflicts.

System_CAPS_ICON_note.jpg Note

You can override LINQ to SQL default methods for Insert, Update, and Delete database operations. For more information, see Customizing Insert, Update, and Delete Operations.

Developers using Visual Studio can use the Object Relational Designer to develop stored procedures for the same purpose.

How to: Insert Rows Into the Database
Describes how to insert rows in the database by adding objects to the object model.

How to: Update Rows in the Database
Describes how to update rows in the database by updating objects in the object model.

How to: Delete Rows From the Database
Describes how to delete rows in the database by deleting objects in the object model.

How to: Submit Changes to the Database
Describes how to send object-model changes to the database.

How to: Bracket Data Submissions by Using Transactions
Describes how to include operations in a transaction.

How to: Dynamically Create a Database
Describes how to generate databases dynamically, and typical scenarios for this approach.

How to: Manage Change Conflicts
Describes techniques for addressing optimistic concurrency issues.

Show: