O'Reilly logo

Fluent Entity Framework by Rebecca M. Riordan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Task list

Image

In this chapter we’ll (finally!) start working with actual data.

Crud operations

Image

If  you know how to program in .NET (and you do, or you wouldn’t have made it this far in the book), you know how to perform basic CRUD operations using your Entity Framework model. The only thing that’s (more or less) unique is calling SaveChanges() to persist the changes to the database. But there’s no reason for you to take my word on that, so we’ll start with a quick look at CRUD operations in the Entity Framework.

Entity state

In order for the Entity ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required