Murach's ADO.NET 3.5, LINQ,
and the Entity Framework with VB 2008

How to use LINQ to SQL (part 2)

This chapter expands on what you learned in chapter 13. It teaches you how to use LINQ to SQL to insert, update, and delete data in a database and to provide for concurrency during update and delete operations.

Chapter 14 How to use LINQ to SQL (part 2)
How to insert, update, and delete data in a database 450
How to modify an existing row 450
How to delete an existing row 452
How to add a new row 454
How to provide for concurrency 456
How to detect concurrency conflicts 456
How to get conflict information 458
How to resolve concurrency conflicts 460
How to use stored procedures to insert, update,
and delete data
462
How to create and use data context methods that insert, update, and delete data 462
The code that’s generated for a data context method 464
How to handle concurrency conflicts 466
A Vendor Maintenance application 468
The user interface 468
The object model 470
The code for the DataContext module 470
The code for the Vendor Maintenance form 472
The code for the Add/Modify Vendor form 476

Murach's ADO.NET 3.5 with VB 2008

Learn more about this book

View the table of contents


More about the eBook



Our 100% Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a prompt refund...no questions asked.