10. Working with Entities

And so we come to the final subject of the book, and, arguably the whole purpose of Entity Framework: modifying data in your application, and persisting those modifications back to the database.

If you’re a database person, you’ll know these as CRUD operations. CRUD stands for Create, Read, Update and Delete. Of course, we’ve already explored the “R” in that acronym when we looked at the various ways that you can query an EDM. But I’ll still call them CRUD, because the alternative acronym is, well, just a wee bit too bovine.

In fact, CRUD operations are trivially easy in the Entity Framework: all that tricky database-specific stuff is gone, and you work with .NET objects that look and behave like any other .NET objects. ...

Get Fluent Entity Framework 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.