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

How to use LINQ to Entities

Once you've created an Entity Data Model as shown in the previous chapter, this chapter shows you how to use LINQ to Entities in conjunction with that Entity Data Model to retrieve, insert, update, and delete data.

Chapter 18 How to use LINQ to Entities
How to retrieve data 586
How to retrieve data from a single table 586
How to query across relationships 588
How to load related objects 590
How to use a stored procedure 592
How to insert, update, and delete data 594
How to modify an existing row 594
How to delete an existing row 596
How to add a new row 598
How to provide for concurrency 600
How to work with bound controls 602
How to create an object data source 602
How to bind controls 604
A Vendor Maintenance application 606
The user interface 606
The Entity Data Model 608
The code for the PayablesEntity module 608
The code for the Vendor Maintenance form 610
The code for the Add/Modify Vendor form 614

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.