EF,ASP.NET,MVC, Microservices For YP

EF,ASP.NET,MVC, Microservices For YP

Professional Development

50 Qs

quiz-placeholder

Similar activities

Scholarship Test

Scholarship Test

Professional Development

46 Qs

Odoo 15 Cert - Accounting + Invoicing (1)

Odoo 15 Cert - Accounting + Invoicing (1)

Professional Development

46 Qs

health and safety

health and safety

Professional Development

45 Qs

Microbiology

Microbiology

Professional Development

47 Qs

Netligent DS Basics

Netligent DS Basics

Professional Development

55 Qs

MSN-TERM TEST-VI- DGNM-II YEAR

MSN-TERM TEST-VI- DGNM-II YEAR

Professional Development

50 Qs

PDE-2022-2

PDE-2022-2

Professional Development

50 Qs

Microsoft Azure Fundamentals AZ-900 ENG #2

Microsoft Azure Fundamentals AZ-900 ENG #2

University - Professional Development

55 Qs

EF,ASP.NET,MVC, Microservices For YP

EF,ASP.NET,MVC, Microservices For YP

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

Dotnet Quiz

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Entity Framework?
A database management system
An Object-Relational Mapping (ORM) framework
A web development framework
A testing framework
None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which approach is used when you start with an existing database in Entity Framework?
Code First
Model First
Database First
Schema First
None of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is DbContext in Entity Framework?
A database connection string
A class that represents a session with the database
A data annotation attribute
A LINQ query provider
None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which LINQ method is used to retrieve a single entity by its primary key?
Single()
First()
Find()
Where()
None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the [Required] attribute do in Entity Framework?
Makes a property optional
Makes a property mandatory/not null
Sets default value for a property
Creates an index on the property
None of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to save changes to the database in Entity Framework?
Commit()
Save()
SaveChanges()
Update()
None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is lazy loading in Entity Framework?
Loading data slowly
Loading related data automatically when accessed
Loading data in background
Loading data without queries
None of these

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?