Entity Framework in Depth The Complete Guide
What you’ll learn
Understand the differences between database-first and code-first workflows
Build a domain model using database-first workflow
Build a domain model using code-first workflow (with an existing or a new 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, what and if you need it, and how to implement it
Apply best practices with Entity Framework
Requirements
Good understanding of advanced C# constructs (generics, lambda expressions)
Description
With over 6,500 students and 1,500+ positive reviews, this course is Udemy’s most popular course for learning Entity Framework! 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 workflowBuild 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, Mosh walks you through real-world scenarios using his extensive experience in the field. Not only does he teach you the fundamentals of Entity Framework, he’ll also teach you 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.
PREREQUISITES
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 Mosh’s related courses:
C# Basics for BeginnersC# Intermediate: Classes, Interfaces and Object-oriented ProgrammingC# Advanced
WHAT OTHER STUDENTS WHO HAVE TAKEN THIS COURSE 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
100% MONEY-BACK GAUARANTEE
This course comes with a 30-day money back guarantee. If you’re not happy, ask for a refund, all your money back, no questions asked.
Do you want to take your programming skills to the next level?
Join the other 6,500 happy students who have taken this course and start coding within minutes.
Overview
Section 1: Introduction
Lecture 1 About this Course
Lecture 2 About Me
Lecture 3 Asking Questions
Section 2: Getting Started
Lecture 4 Introduction
Lecture 5 What is Entity Framework?
Lecture 6 Workflows
Lecture 7 Demo: Database-First Workflow
Lecture 8 Demo: Code-First Workflow
Lecture 9 Database-First or Code-First?
Lecture 10 Summary
Section 3: Building a Model using Database-First Workflow
Lecture 11 Introduction
Lecture 12 Setting up the Database
Lecture 13 A Quick Tour of EDMX Designer
Lecture 14 Uncovering the EDMX
Lecture 15 Connection Strings
Lecture 16 Dealing with Database Changes
Lecture 17 Importing Stored Procedures
Lecture 18 Function Imports
Lecture 19 Working with Enums
Lecture 20 Exercises
Lecture 21 Summary
Section 4: Building a Model using Code-First Workflow
Lecture 22 Introduction
Lecture 23 Code First with a New Database
Lecture 24 Code First with an Existing Database
Lecture 25 Migrations: Enabling Migrations
Lecture 26 Migrations: Adding a New Class
Lecture 27 Migrations: Modifying an Existing Class
Lecture 28 Migrations: Deleting an Existing Class
Lecture 29 Migrations: Recovering from Mistakes
Lecture 30 Migrations: Downgrading a Database
Lecture 31 Seeding Database
Lecture 32 Exercises
Lecture 33 Summary
Section 5: Overriding Code-First Conventions
Lecture 34 Introduction
Lecture 35 Overriding Conventions
Lecture 36 Data Annotations
Lecture 37 Demo: Data Annotations
Lecture 38 Fluent API: Basics
Lecture 39 Fluent API: Relationships
Lecture 40 Demo: Fluent API
Lecture 41 Demo: Fluent API (Advanced Configurations)
Lecture 42 Organizing Fluent API Configurations
Lecture 43 Exercises
Lecture 44 Summary
Section 6: Querying Data using LINQ
Lecture 45 Introduction
Lecture 46 Introduction to LINQ
Lecture 47 LINQ in Action
Lecture 48 LINQ Syntax
Lecture 49 LINQ Extension Methods
Lecture 50 LINQ Extension Methods: Additional Methods
Lecture 51 Deferred Execution
Lecture 52 IQueryable Explained
Lecture 53 Exercises
Lecture 54 Summary
Section 7: Loading Related Objects
Lecture 55 Introduction
Lecture 56 Lazy Loading
Lecture 57 N + 1 Problem
Lecture 58 Eager Loading
Lecture 59 Explicit Loading
Lecture 60 Exercises
Lecture 61 Summary
Section 8: Updating Data
Lecture 62 Introduction
Lecture 63 Overview of Changing Data
Lecture 64 Adding objects
Lecture 65 Updating objects
Lecture 66 Removing objects
Lecture 67 Working with Change Tracker
Lecture 68 LINQPad
Lecture 69 Exercises
Lecture 70 Summary
Section 9: Using Entity Framework in Your Applications
Lecture 71 Introduction
Lecture 72 Repository Pattern
Lecture 73 Implementing the Repository Pattern
Lecture 74 Structuring Your Applications
Lecture 75 ASP.NET MVC Example
Lecture 76 WPF Example
Lecture 77 Summary
Section 10: Conclusion
Lecture 78 Final Words
Lecture 79 Coupon to My Other Courses
Any .NET developer who wants to persist or query domain objects from a database
Course Information:
Udemy | English | 6h 34m | 2.50 GB
Created by: Mosh Hamedani
You Can See More Courses in the Developer >> Greetings from CourseDown.com