Simple play icon Course

Encapsulating EF Core 6 Usage

by Vladimir Khorikov

The usage of EF Core 6 is a vast and complicated topic. This course will teach you how to do this in a way that maintains proper encapsulation and abstraction.

What you'll learn

EF Core is a mature and complex ORM, and it’s often unclear how exactly you should use it. In this course, Encapsulating EF Core 6 Usage, you’ll learn to encapsulate the EF Core 6 logic in your application. First, you’ll explore how to isolate the usage of DbContext. Next, you’ll discover when you should and shouldn’t use repositories. Finally, you’ll learn how to choose between IQueryable and IEnumerable in your repositories. When you’re finished with this course, you’ll have the skills and knowledge of EF Core 6 needed to encapsulate and abstract away its usage.

About the author

Vladimir Khorikov is the author of the book Unit Testing Principles, Practices, and Patterns: He has been professionally involved in software development for over 15 years, including mentoring teams on the ins and outs of unit testing. He's also the founder of the Enterprise Craftsmanship blog, where he reaches 500 thousand software developers yearly. He started as an adviser on general programming topics, but lately has shifted his focus to unit testing with a central ... more

Ready to upskill? Get started