Chapter 16. Understanding Entities Through Objects

After completing this chapter, you will be able to:

  • Access the properties of an entity through a standard object instance

  • Add, update, and delete database content by modifying object properties

  • Carry out query-like actions using standard method calls

One of the main advantages of the Entity Framework (EF) is that you can manage database content using standard .NET objects that reflect the conceptual nature of the data. Behind the scenes, various XML models, generated language code blocks, and provider interactions make this possible. But the complexity exists solely to fulfill the promise of providing simplicity in handling the main business logic of your application. Imagine being able to modify ...

Get Microsoft® ADO.NET 4 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.