Appendix B. Entity Framework tips and tricks
Mastering Entity Framework doesn’t only mean knowing its set of APIs and their internal behavior. It also means finding the best ways to use it and to simplify development. This appendix is all about that.
We won’t cover a specific subject here; we’ll touch on various subjects, offering tips and tricks that couldn’t be included in previous chapters. Here you’ll find a set of classes and extension methods that let you write less code, making that code more readable and easier to maintain.
You’ll read about an extension method for simplifying the process of attaching entities, you’ll learn how to perform specific actions once an entity is persisted on the database, and you’ll discover how to perform ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access