Chapter 8

image

Entity Framework Data Access Paradigms

In Chapter 1, you were introduced to modern data access paradigms. To help you remember these, there are three primary strategies for designing a data access layer in your application.

Database First: Start by designing the database (or use a preexisting database as source) and then create an entity container from the database using a conceptual model generator tool. The entity container models will represent the various tables of the relational database and associations representing the relationships. You can then query and manipulate the models and let the tool perform the CRUD operations behind ...

Get Beginning ASP.NET 4.5 Databases, Third Edition 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.