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
VS + SQL - Lesson 5: Entity Framework Core (Intro) Quiz
Answer all questions to test your understanding
1
What does EF Core stand for?
Entity Framework Core
Entity Form Core
Environment Framework Core
Extended Framework Core
2
What is an ORM?
Object-Relational Mapper
Object-Resource Manager
Order-Resource Model
Object-Reference Model
3
What does DbSet represent in EF Core?
A single row in the database
A collection of entities that maps to a table
A database connection
A SQL command
4
What method saves changes to the database in EF Core?
Save()
SaveChanges()
SaveChangesAsync()
Both B and C
5
What is the advantage of EF Core over ADO.NET?
It's always faster than ADO.NET
You write less SQL and it's safer by default
It uses less memory
It connects to more databases
6
How do you read data in EF Core?
Using SQL strings
Using LINQ queries
Using stored procedures only
Using DataReader
7
Which method adds a new entity to the database in EF Core?
context.Add()
context.Insert()
context.Create()
context.New()
Submit Quiz