
This is the introduction to the course. We will talk about how this course is structured and what will you learn after completing this course.
In this lecture, we will talk about what is Entity Framework and what are the benefits of using it.
In this lecture, you will learn how Entity Framework works and how makes it possible to offer an enhanced data access experience.
This lecture, is a recap on what we’ve learned in this section.
In this lecture, you will learn about the DbContext and DbSet classes, which are main components of the Entity Framework.
In this lecture, you will learn about Inheritance in Entity Framework.
In this lecture, you will learn about the Code First workflow in Entity Framework.
In this lecture, you will learn about the Model First workflow in Entity Framework.
In this lecture, you will learn about the Database First workflow in Entity Framework.
This lecture, is a recap on what we’ve learned in this section.
This lecture, presents the sample database that will be used for the demos. Moreover, it provides the relevant T-SQL DDL and DML script for creating the database, as a downloadable resource.
In this demo/guide, we will see step by step, how we can build a .NET Console App in Visual Studio 2017, using the Code First workflow in Entity Framework along with creating a new database.
In this demo/guide, we will see step by step, how we can build a .NET Console App in Visual Studio 2017, using the Code First workflow in Entity Framework along with using an existing database.
In this demo/guide, we will see step by step, how we can build a .NET Windows Forms GUI App in Visual Studio 2017, using the Code First workflow in Entity Framework along with creating a new database.
In this demo/guide, we will see step by step, how we can build a .NET Windows Forms GUI App in Visual Studio 2017, using the Code First workflow in Entity Framework along with using an existing database.
This lecture, is a recap on what we’ve learned with the Code First demos.
In this demo/guide, we will see step by step, how we can build a .NET Console App in Visual Studio 2017, using the Model First workflow in Entity Framework.
In this demo/guide, we will see step by step, how we can build a .NET Windows Forms GUI App in Visual Studio 2017, using the Model First workflow in Entity Framework.
This lecture, is a recap on what we’ve learned with the Model First demos.
In this demo/guide, we will see step by step, how we can build a .NET Console App in Visual Studio 2017, using the Database First workflow in Entity Framework.
In this demo/guide, we will see step by step, how we can build a .NET Windows Forms GUI App in Visual Studio 2017, using the Database First workflow in Entity Framework.
This lecture, is a recap on what we’ve learned with the Database First demos.
A few words about this section.
In this lecture and demo, we will learn more about Entity Framework Core and see how we can set up our environment for working with Entity Framework Core and .NET Core in Visual Studio.
In this lecture and demo, we will talk about the Fluent API in Code First and see how we can configure a Code First workflow in Entity Framework Core using the Fluent API.
In this lecture, we will discuss efficient Read-Only Queries in EF Core. We will use a concrete example to understand the decision, work through the reasoning, and finish with a short knowledge check.
In this lecture, we'll be discussing about essential strategies for optimizing data access and management using the Entity Framework in .NET development.
A few words about the addition of this new section (Special Topics).
In this special topic, we will create a sample database in order to be used in some of my subsequent special topics.
In this article, we will be examining in more detail, Inheritance in Entity Framework. Also, with the use of a step-by-step example, we will see how we can use Inheritance when developing data apps with Entity Framework.
Via this live demonstration, you will learn how to install SQL Server and apply the basic configuration.
In this special topic, via live demonstrations, you will learn how you can connect to SQL Server using SQL Server Management Studio (SSMS).
In this special topic, you will learn via live demonstrations, how you can create databases and other objects in SQL Server using SSMS.
In this lecture, via live demonstrations, you will learn how you can run queries against SQL Server using SSMS, and how you can script procedures to T-SQL.
In this special topic, we will see how we can import data in SQL Server using the OPENROWSET function.
In this special topic, we will see how we can import and export data using SQL Server Integration Services (SSIS).
In this lecture, we discuss what are the benefits of using database stored procedures.
In this special topic, we’ll review the fundamentals of clustered and non-clustered indexes, then explore specialized types like columnstore, filtered, and full-text indexes.
Learn about the key cloud deployment options, with a focus on Microsoft Azure, and how to make the right choice based on your needs.
In this special topic, we’re diving into one of the most modern and flexible ways to deploy SQL Server — using containers.
This lecture, is a recap on what we've learned in this course.
Bonus lecture.
Learn how C# applications can work with SQL Server using Entity Framework and understand how application code, data models, and databases connect.
This beginner-friendly course introduces the core concepts behind Entity Framework, object-relational mapping, DbContext, DbSet, and database-access workflows through explanations and practical application examples.
If you already know the basics of C# and want to understand how .NET applications interact with relational databases, this course provides a structured starting point.
Understand Entity Framework and Object-Relational Mapping
Applications often need to store, retrieve, update, and manage data in a relational database.
Entity Framework provides a way for .NET applications to work with that data through objects and application code.
You will begin by understanding the purpose of Object-Relational Mapping (ORM) and how Entity Framework helps connect the object-oriented world of C# with relational database structures.
You will explore important concepts such as:
Object-Relational Mapping.
Entity Framework architecture.
DbContext.
DbSet.
Entities and database tables.
Application-to-database interaction.
Data-access workflows.
These concepts provide the foundation for understanding how Entity Framework fits into a .NET application.
Explore the Main Entity Framework Workflows
The course introduces the major development approaches used with classic Entity Framework:
Code First.
Database First.
Model First.
You will learn how each workflow approaches the relationship between application code, the data model, and the underlying database.
Understanding these approaches helps you recognize how Entity Framework can be introduced into different types of projects, whether the application starts from code, an existing database, or a visual data model.
Follow Practical C# Application Examples
Rather than learning Entity Framework only through definitions, you will follow practical examples that show how the different pieces come together.
The course includes application scenarios using:
Console applications.
Windows Forms applications.
SQL Server databases.
These examples help you understand how Entity Framework is configured inside an application and how C# code can interact with database data.
You will see the relationship between the application, Entity Framework, the data model, and SQL Server as part of a complete workflow.
Understand DbContext and DbSet
Two important concepts in Entity Framework are DbContext and DbSet.
You will learn how DbContext represents the application's interaction with the database and how DbSet represents collections of entities that can be queried and modified.
Understanding these concepts makes it easier to follow how applications:
Retrieve data.
Add new records.
Update existing data.
Remove data.
Work with database entities through C# objects.
These ideas form the basis of many Entity Framework applications.
Explore Entity Framework Core
The course also includes dedicated material introducing Entity Framework Core in both Windows and Linux environments.
This gives you exposure to the newer, cross-platform generation of Entity Framework and helps you understand how .NET data access evolved beyond the classic Entity Framework model.
The EF Core material is presented separately from the classic Entity Framework workflows so you can understand the differences between the two approaches without mixing their features.
Connect C# Development with SQL Server
Entity Framework sits between your application and the database, but understanding both sides remains important.
Throughout the course, you will see how Entity Framework connects C# applications with SQL Server and how object-oriented application code relates to relational data.
This provides a useful foundation for moving into more advanced topics such as:
LINQ.
Application architecture.
Repository patterns.
ASP.NET data access.
Entity Framework Core.
Database-driven application development.
Who Is This Course For?
This course is suitable for:
C# developers beginning with Entity Framework.
.NET developers who want to understand database access.
Students learning application development.
Developers working with SQL Server.
Windows Forms developers.
Professionals moving from direct SQL access toward ORM-based development.
Anyone who wants to understand how Entity Framework connects .NET applications with relational databases.
You should already understand basic C# programming concepts.
Familiarity with Visual Studio, .NET, and basic relational database concepts will also help you follow the examples more comfortably.
This course focuses on Entity Framework fundamentals rather than teaching C# programming from the beginning.
About the Demonstration Environments
Some demonstrations use earlier versions of .NET, Visual Studio, and Windows because they illustrate classic Entity Framework workflows.
The underlying Entity Framework concepts and data-access patterns remain useful for understanding how these technologies work, although newer development environments may differ in project setup, tooling, and available APIs.
The Entity Framework Core sections are presented separately to help you distinguish modern EF Core development from classic Entity Framework workflows.
Build Your Entity Framework Foundation
By the end of the course, you will understand the purpose of Entity Framework, how Object-Relational Mapping works, how DbContext and DbSet participate in data access, and how the main Entity Framework workflows appear in real applications.
You will also have followed practical C# and SQL Server examples and gained introductory exposure to Entity Framework Core.
If you already know basic C# and want to understand how .NET applications can work with relational databases through Entity Framework, this course provides a practical and structured place to start.