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

How to create an Entity Data Model

The Entity Framework, new in ADO.NET 3.5, provides another way to work with data in database applications. To use it, you create an Entity Data Model that defines a conceptual model for the business objects used by an application, a storage model for the objects in a database, and mappings that relate the two. This chapter shows you how to do that.

Chapter 17 How to create an Entity Data Model
An introduction to the Entity Framework 552
How the Entity Framework works 552
Three techniques for performing query operations 552
How to use the Entity Data Model Wizard 554
How to start the wizard 554
How to choose the model contents 554
How to choose a data connection 554
How to choose the database objects 556
The Entity Data Model 558
The generated code 560
How to use the Entity Data Model Designer 566
Basic skills for using the designer 566
How to use the Model Browser window 568
How to use the Mapping Details window 570
How to add a stored procedure that retrieves data 572
How to add stored procedures that insert, update, and delete data 574
How to update an Entity Data Model 576
How to customize an Entity Data Model 578
How to use partial classes 578
How to modify the XML 580

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.