Entity Framework is an Object / Relational Mapper (O/RM) that helps you read and write data from and to a database. In this course, Mosh, teaches you the core concepts of Entity Framework through a series of clear, concise and hands-on lectures.
Whether you're new to Entity Framework, or been using it for a while but are looking for a comprehensive course with a clean structure to fill the missing parts, you're going to love this course.
By the end of watching this course, you'll be able to:
- Understand the differences between code-first and database-first workflows
- Build a domain model using database-first workflow
- Build a domain model using code-first workflow (with a new or an existing database)
- Use code-first migrations to upgrade or downgrade your database
- Override code-first conventions (using data annotations and fluent API)
- Query data using LINQ (using query syntax and extension methods)
- Use eager loading, lazy loading and explicit loading effectively
- Add, update and remove objects
- Use additional tools to profile and troubleshoot your applications
- Understand what the repository pattern is, why and when to use it and how
- Apply best practices with Entity Framework
Unlike other books or courses that teach Entity Framework like a manual, I walk you through real-world scenarios using my extensive experience in the field. Not only will you learn the fundamentals of Entity Framework, but you'll also learn the best practices along the way.
In each section, you'll find exercises to help you reinforce the materials. These exercises have been chosen from real-world scenarios to help you prepare for the challenges of the real-world. Also, some sections include cheat sheets so you can quickly review what you learn in that section.
This course is produced with Entity Framework 6. If you're using an older version of Entity Framework, you can still take this course as long as your version of Entity Framework is 4.1 or higher.
In order to take this course, you should have at least 3 months experience programming in C#. If you need to strengthen your C# fundamentals, you can take my related courses:
What other students say
"May God bless you and your efforts to create high-quality courses. This has really changed my life from working as a security guard and doing websites for free, now I am a professional." -Danish Jafri
"I'm impressed by Mosh's ability to strike the right balance of topic background, demo and tip and tricks to get around common issues when learning a technology. Great job Mosh! I'm more than happy to have invested my time and money in your work." -Ben Holtzman
"Excellent course! Mosh has a brilliant style and all of his courses are well presented and very high quality. This course was no exception and I learnt a lot from it." -Steven Barnett
"It´s a pleasure following the lessons, It´s like a good book, you always want to read another chapter. This is not siimple a course of EF, it goes further, gives a very good explanation of Linq and the most brilliant description of Repository Pattern and Unity of work. Please keep doing courses. To be honest I believe that you should leave your work and spend the rest of your life teaching ;)." -Martin Suarez
"I'd taken a lot of video classes, and this is the best I'd taken. Very well explained, detailed and a good real life examples, lots of tips and more." -Oscar Vargas
"As always... Mosh nails it with his thorough explanations (without all the "I'm better than you vibe")." -Mike Loffland
Hi! My name is Mosh Hamedani. I'm a software engineer with two decades of experience. I've taught millions of people how to code and how to become professional software engineers through my online courses and YouTube channel.
I believe coding should be fun and accessible to everyone.
StartSetting Up the Database (0:54)
StartA Quick Tour of EDMX Designer (6:46)
StartUncovering the EDMX (6:56)
StartConnection Strings (3:16)
StartDealing with Database Changes (13:30)
StartImporting Stored Procedures (5:28)
StartFunction Imports (7:38)
StartWorking with Enums (7:22)
StartDb First - Exercises
Frequently Asked Questions
30-Day Money-Back Guarantee
Try it risk-free
You can ask for a refund any time during the first 30 days
if you decide the course isn’t for you.
Join 74434 happy students!
Stop wasting your time jumping from one video tutorial to another.
With our amazing reviews and money back guarantee, what are you waiting for?