AI Instructor Live Labs Included

Data Access with Microsoft Entity Framework and C#

Master Entity Framework Core for .NET — from ORM basics through advanced querying, migrations, relationships, and performance optimization with hands-on labs in VS Code.

Intermediate
23h 5m
20 Lessons
EF-CORE
Data Access with Entity Framework Core Badge

View badge details

About This Course

Master data access in .NET applications using Entity Framework Core. This comprehensive course takes you from ORM fundamentals through advanced querying, migrations, relationships, performance optimization, and real-world best practices. You'll build hands-on projects using EF Core with SQLite and PostgreSQL in a browser-based VS Code environment, learning to design efficient data layers for production applications.

Course Curriculum

20 Lessons
01
AI Lesson
AI Lesson

Introduction to EF Core & ORM Concepts

45m

Learn what Object-Relational Mapping is, why EF Core exists, and how it bridges C# objects and database tables.

02
Lab Exercise
Lab Exercise

Introduction to EF Core - Lab Exercises

1h 25m 2 Exercises

Hands-on practice setting up your first EF Core project, creating a DbContext, and running your first database operations.

03
AI Lesson
AI Lesson

DbContext, Models & Configuration

50m

Deep dive into DbContext lifecycle, entity model design, data annotations, and Fluent API configuration.

04
Lab Exercise
Lab Exercise

DbContext & Models - Lab Exercises

1h 25m 2 Exercises

Build entity models with data annotations and Fluent API, configure DbContext options, and explore model validation.

05
AI Lesson
AI Lesson

CRUD Operations with EF Core

50m

Master Create, Read, Update, and Delete operations using EF Core's change tracking and SaveChanges patterns.

06
Lab Exercise
Lab Exercise

CRUD Operations - Lab Exercises

1h 25m 2 Exercises

Build a complete data access layer with Create, Read, Update, and Delete operations against a SQLite database.

07
AI Lesson
AI Lesson

Entity Relationships & Navigation Properties

50m

Learn one-to-many, many-to-many, and one-to-one relationships, navigation properties, foreign keys, and cascade behaviors.

08
Lab Exercise
Lab Exercise

Entity Relationships - Lab Exercises

1h 35m 2 Exercises

Implement one-to-many, many-to-many, and one-to-one relationships in a multi-entity data model.

09
AI Lesson
AI Lesson

Querying with LINQ in EF Core

50m

Master LINQ query syntax and method syntax for filtering, sorting, projecting, grouping, and joining data through EF Core.

10
Lab Exercise
Lab Exercise

LINQ Querying - Lab Exercises

1h 30m 2 Exercises

Write LINQ queries to filter, sort, project, group, and join data from a multi-table database.

11
AI Lesson
AI Lesson

Migrations & Schema Management

45m

Learn EF Core migrations workflow — creating, applying, reverting, and managing database schema changes over time.

12
Lab Exercise
Lab Exercise

Migrations & Schema Management - Lab Exercises

1h 25m 2 Exercises

Create and apply migrations, evolve a database schema, seed data, and manage migration history.

13
AI Lesson
AI Lesson

Advanced Querying & Raw SQL

50m

Explore advanced EF Core querying — projections, global query filters, raw SQL queries, stored procedures, and compiled queries.

14
Lab Exercise
Lab Exercise

Advanced Querying - Lab Exercises

1h 35m 2 Exercises

Practice advanced querying techniques including projections, global filters, raw SQL, and compiled queries.

15
AI Lesson
AI Lesson

Data Validation, Concurrency & Transactions

50m

Learn data validation strategies, optimistic concurrency with row versioning, and transaction management in EF Core.

16
Lab Exercise
Lab Exercise

Data Validation & Concurrency - Lab Exercises

1h 35m 2 Exercises

Implement validation attributes, handle concurrency conflicts, and use transactions for data integrity.

17
AI Lesson
AI Lesson

Performance Optimization & Best Practices

50m

Master EF Core performance — eager vs lazy vs explicit loading, no-tracking queries, batching, connection pooling, and common anti-patterns.

18
Lab Exercise
Lab Exercise

Performance Optimization - Lab Exercises

1h 35m 2 Exercises

Diagnose and fix N+1 queries, implement eager loading, use no-tracking queries, and optimize a slow data access layer.

19
AI Lesson
AI Lesson

Capstone Briefing - Inventory Management System

30m

Review all EF Core concepts and receive the capstone project brief — build a complete inventory management data layer.

20
Lab Exercise
Lab Exercise

Capstone Project - Inventory Management System

1h 45m 1 Exercises

Build a complete inventory management data layer using EF Core with relationships, migrations, LINQ queries, and performance optimization.

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 10 Hands-on Lessons
  • Completion Badge
Data Access with Entity Framework Core Badge

Earn Your Badge

Complete all lessons to unlock the Data Access with Entity Framework Core achievement badge.

Skill Level Intermediate
Total Duration 23h 5m
Data Access with Entity Framework Core Badge
Achievement Badge

Data Access with Entity Framework Core

Awarded for completing the Data Access with Microsoft Entity Framework and C# course, demonstrating proficiency in EF Core ORM, data modeling, CRUD operations, LINQ queries, migrations, relationships, concurrency, and performance optimization.

Course Data Access with Microsoft Entity Framework and C#
Criteria Complete all 20 lessons including the capstone project in the Data Access with Microsoft Entity Framework and C# course.

Skills You'll Earn

Entity Framework Core C# Data Access LINQ PostgreSQL ORM Database Migrations Data Modeling Performance Optimization Concurrency Control

Complete all lessons in this course to earn this badge