Getting Started with Entity Framework 6
This course will help you understand the goals and benefits of using Entity Framework 6 for data access and guide you through creating your first code-based model to store and retrieve data using EF’s APIs.
What you'll learn
If you are new to Entity Framework, Microsoft’s framework for integrating data access into your .NET applications, this is the place to start. You will gain an understanding of:
- What Entity Framework is for
- How Entity Framework works
- Where it belongs in your software architecture and how to get it there
In addition to getting developers started with EF and prepared to learn and take advantage of more advanced techniques, this course will provide managers with the info they need to help them with decision making when planning a development stack.
We’ll be using Visual Studio 2015 and .NET 4.6 for demos.
Table of contents
- Introduction 3m
- Why EF? Why This Course? 3m
- What's in This Course? 2m
- What's in This Module? 2m
- Entity Framework Goals 3m
- Where to Use Entity Framework 6 1m
- High Level Look at How EF Works 2m
- Visual or Code Based Models from Scratch or Existing Database 4m
- Where EF Fits in Your Software Architecture 2m
- From Inception to EF6: A Short History 4m
- EF7 is Coming, But EF6 Is Staying, Too 4m
- Summary 2m
- Resources 0m
- Version Check 0m
- Introduction 0m
- What's in this Module 1m
- Preparing the Sample Solution 6m
- Creating an Entity Framework Model 6m
- Validating Your EF Model 3m
- Fixing How EF Interprets Your Model 5m
- Using Code First Migrations to Create a Database 9m
- Migrating a Database When Your Model Changes 3m
- Creating Visual and Code Models from Existing Databases 7m
- Summary 1m
- Resources 0m
- Introduction 0m
- What's in This Module? 2m
- Adding Some Real World Logic to the Model 6m
- EF in a WPF Application 5m
- The UI and Repository Code Driving the WPF App 5m
- EF in an MVC5 Application 5m
- A Repository Designed for Disconnected Apps 7m
- Using the Disconnected Repository in the MVC5 App 4m
- Entity Framework and ASP.NET Web API 6m
- Using EF and the Web API in an Aurelia Web Site 4m
- Bonus Clip: Calling the Web API and Data Binding from Aurelia 3m
- Summary 1m
- Resources 0m
Course FAQ
Entity Framework is Microsoft's framework for integrating data access into your .NET applications. It lets developers work with data without focusing on the tables and columns where the data is stored.
Entity Framework helps increase developers' productivity by mitigating redundancy of persisting data. EF6 can make commands for reading or writing data and execute them for you.
In this course we will be using Visual Studio 2015 and .NET 4.6 for our demos. If you have newer versions then great. If you don't have either of these, you can still follow along and learn the principles taught.
Before starting this course, it will help to be familiar with Visual Studio. If you have any exposure to SQL, that will also be helpful. Aside from that, the information pertaining to Entity Framework itself is intended for beginners.
This course is for anyone who wants to learn Entity Framework - what it is, how it works, and where it fits in your software architecture.