hands-on lab

C# Challenge: Entity Framework CRUD Challenge

Difficulty: Beginner
Duration: Up to 2 hours
Students: 2
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Description 

In this challenge, you are tasked with creating a console application in C# that supports full CRUD (Create, Read, Update, Delete) access to a local SQL Server database. The application will use the Entity Framework Core to interact with the database and will model a simple cinema system that keeps track of the times, dates and screens films are showing at the complex.

The solution will consist of a console app project that defines a DbContext, an entity class representing films, and logic in the Program.cs file to demonstrate the different CRUD operations.

Your job is to implement the Film entity, configure the DbContext to connect to a SQL Server LocalDB instance, and write code in the Program class to insert, update, delete, and list films in the database.



 

Hands-on Lab UUID

Lab steps

0 of 2 steps completed.Use arrow keys to navigate between steps. Press Enter to go to a step if available.
  1. .Net Core C# Challenge
  2. Entity Framework CRUD Challenge