Back to Browse

Stop using Entity Framework as a DTO provider!

32.9K views
Streamed live on Mar 21, 2024
1:27:19

Entity Framework is a great tool to retrieve your data from the database. However, it is also a bit complicated, and requires that you read a bit more than just the "Getting Started with EF" page. Unfortunately, this seems to be what most developers do. At least I think that is why I keep seeing people using it to replicating the database structure in their code with DTO:s. This is not the way it was intended to be used. It was intended to persist and retrieve data for you C# object. Not just DTO:s. And if one more person tells me "we used a micro-ORM for this project, since it does the same thing as EF but without the complexity", I will blow a gasket! Why not join me, Chris Klug, for a look at how we can do better? In this talk, I will show you how we can use proper OOP and still use EF to persist and retrieve our objects. #entity #dto #livestream

Download

1 formats

Video Formats

360pmp4136.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Stop using Entity Framework as a DTO provider! | NatokHD