C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
Razor Pages - Lesson 8: Full CRUD Project Quiz
Answer all questions to test your understanding
1
What does CRUD stand for?
Create, Read, Update, Delete
Create, Review, Update, Delete
Code, Run, Update, Deploy
Create, Read, Update, Display
2
Which method is used to add a new entity to the database in EF Core?
Add()
Insert()
Create()
Save()
3
What is the purpose of EntityState.Modified?
To mark an entity as modified for updating
To mark an entity as new
To delete an entity
To detach an entity
4
How do you delete an entity in EF Core?
Remove()
Delete()
Erase()
Drop()
5
What is the purpose of Include() in EF Core?
To load related data (eager loading)
To add a new entity
To delete an entity
To update an entity
Submit Quiz