These slides accompany my talk "Entity Framework Core Hidden Gems." The code samples, talk videos, and additional resources are available on GitHub: https://github.com/ironcev-talks/entity-framework-core-hidden-gems.
Basic Entity Framework Core features are, I guess, well-known to you. Plain mapping of objects to underlying database tables is straightforward and easy to use.
But EF Core has much more power to offer. My consultancy practice tells me that this power is often neither recognized nor known to developers.
In this talk, I share with you certain lesser-known EF Core features that I would expect to see more often in real-life code. They replace cumbersome hand-made "solutions" with robust alternatives that are easy to implement and maintain.
Through examples that depict real-life cases that I've seen, I'll demonstrate features that will help you to:
- gain more performance out of your queries.
- smoothly work with legacy databases.
- obtain readable diagnostic logs.
- fight anemic domain models.
You will leave the talk with two things under your belt - a set of powerful EF Core features and a clear understanding of how to put them into practice in your projects.
Kvaliteta EF Core
mi je malo pod upitnikom s
obzirom da temeljne stvari
poput svih inheritance
strategija uopće nisu podržane
* I doubt the quality of EF Core, seeing that essential things like all inheritance strategies are not supported at all (only TPH).
The catch comes when you look at the behavior,
and you realize that there is hardly any behavior
on these objects, making them little more than
bags of getters and setters.
I don't know why this anti-pattern is so common.
Some technologies encourage it […]
Martin Fowler, Anemic Domain Model (https://martinfowler.com/bliki/AnemicDomainModel.html)