During this course, you'll gain an understanding of all Entity Framework services and see how to use them to simplify data access in your .NET applications. You'll learn how to perfect your queries and achieve optimal execution times.
INTER
IN-HOUSE
CUSTOM
Practical course in person or remote class
Disponible en anglais, à la demande
During this course, you'll gain an understanding of all Entity Framework services and see how to use them to simplify data access in your .NET applications. You'll learn how to perfect your queries and achieve optimal execution times.
At the end of the training, the participant will be able to:
Creating an Entity Framework data model
Data context configuration
Understanding how offline mode works
Mastering data loading
Control and optimize update operations
Managing schematic changes with migrations
Intended audience
Developers responsible for data access in .NET applications. Project managers, software architects.
Prerequisites
Good knowledge of C# and data access with the .NET framework. Experience required.
Course schedule
1
Introduction
Principle and benefits of Relational Object Mapping.
Entity Framework version history.
Entity Framework architecture.
CodeFirst or BaseFirst approach.
2
Creating a database
Choice of data provider.
Connection configuration.
Create a model and data context.
Mapping conventions.
Database creation and initialization.
Hands-on work
Create a database from a simple model.
3
Data model definition
Definition of mapping via annotations or Fluent API.
Mapping of enums and complex types.
Inheritance (TPT, TPH and TPC).
Using views.
Hands-on work
Create a multi-table database with type and relationship configuration. Create and map a view.
4
Migration
Preparation of migration tools (installation and creation of history table).
Creation of a migration.
Run a migration in Visual Studio or by code.
Migration management.
Hands-on work
Current migrations.
5
Querying with LINQ to Entities
Understand the SQL generation mechanism.
View operations with logs.
A reminder of how LINQ works (extension methods, lambdas and common operators).
Role of navigation properties.
Control the loading of entities and related data.
Hands-on work
Create a model based on an existing database and perform common queries, including different scenarios for loading entity sets.
6
Data updates
Understand the role of the entity tracking service.
Data updating (insertion, deletion, modification).
Manage update exceptions.
Optimize updates with local validations.
Execute SQL commands.
Hands-on work
Implementation of the points presented.
7
Advanced techniques
Competitive conflict management (detection and resolution).
Using stored procedures.
Transactions through the application.
Hands-on work
Implementation of the points presented.
8
Repository and UOW architecture models
Interest in and implementation of the Repository model.
Context sharing with UOW.
Principle of the dependency injection system.
Hands-on work
Implementing a repository with dependency injection in an ASP NET MVC application.
Customer reviews
4,1 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
BENOIT J.
13/04/26
4 / 5
The content is very good, but I would have liked the pace to be a bit faster, especially at the start
VINCENT P.
13/04/26
5 / 5
The topic has been covered in full. It starts off a bit theoretical, but things soon get going and there are plenty of real-life examples.
GIAMPAOLO B.
13/04/26
5 / 5
OK
CATALIN C.
20/11/25
4 / 5
The 'code first' approach is not the approach chosen by the company, only in the initial phase of the project.
YOUSSEF K.
20/11/25
4 / 5
Missing 1/2 day to cover all concepts
MAESTRE JONATHAN M.
11/09/25
5 / 5
Superb content, a little slow at the beginning, and rightly so, but the second day was more in line with what I was expecting from the course.
JEREMIE M.
11/09/25
3 / 5
I found the course unsuited to my profile and my expectations. I knew that it was very technically oriented, but I felt that the theoretical aspect had been pushed too far to one side. I got the impression that after two hours of introduction we spent the rest of the course in Visual Studio writing code. I'm not convinced that project managers can get much out of this training. I do, however, recognise the interest and quality of the
ANTONIN P.
11/09/25
4 / 5
Very good examples and content, but I would have liked to see more concrete cases rather than just textbook cases.
PARTICIPANTS
Developers responsible for data access in .NET applications. Project managers, software architects.
PREREQUISITES
Good knowledge of C# and data access with the .NET framework. Experience required.
TRAINER QUALIFICATIONS
The experts leading the training are specialists in the covered subjects. They have been approved by our instructional teams for both their professional knowledge and their teaching ability, for each course they teach. They have at least five to ten years of experience in their field and hold (or have held) decision-making positions in companies.
ASSESSMENT TERMS
The trainer evaluates each participant’s academic progress throughout the training using multiple choice, scenarios, hands-on work and more.
Participants also complete a placement test before and after the course to measure the skills they’ve developed.
TEACHING AIDS AND TECHNICAL RESOURCES • The main teaching aids and instructional methods used in the training are audiovisual aids, documentation and course material, hands-on application exercises and corrected exercises for practical training courses, case studies and coverage of real cases for training seminars.
• At the end of each course or seminar, ORSYS provides participants with a course evaluation questionnaire that is analysed by our instructional teams.
• A check-in sheet for each half-day of attendance is provided at the end of the training, along with a course completion certificate if the trainee attended the entire session.
TERMS AND DEADLINES
Registration must be completed 24 hours before the start of the training.
ACCESSIBILITY FOR PEOPLE WITH DISABILITIES
Do you need special accessibility accommodations? Contact Mrs. Fosse, Disability Manager, at psh-accueil@orsys.fr to review your request and its feasibility.
This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.
Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class
Dernières places
Date garantie en présentiel ou à distance
Session garantie
No session at the moment, we invite you to consult the schedule of distance classes.
4
This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.