Getting Started with Entity Framework
Getting started with Entity Framework is for developers who are comfortable with LINQ and the supporting C# language concepts, such as delegates, who want a no-nonsense introduction to Entity Framework (EF).
The course introduces you to Entity Framework and gives you experience with most of the common use-cases. You will see how to model your database entities with C# classes using "code first" with Visual Studio's Entity Framework templates. You will learn to connect to databases and perform basic CRUD operations.
Beyond the basics, you'll learn how to write advanced queries, work with lazy and eager loading, query views, call stored-procedures, and separate out the data access layer using the repository and unit of work patterns.
After completing this course, you will be able to:
- Use LocalDB as a development database
- Read database data with Entity Framework
- Create a set of objects based on a database schema
- Insert, update, and delete data from a database using Entity Framework
- Correctly handle changes that occur concurrently
- Write advanced LINQ queries
- Understand how C# methods are converted into database queries
- Call stored procedures and map entities to procedures using Entity Framework
- Use the Repository and Unit of Work patterns