EF Core basics

EF Core basics

1st - 5th Grade

15 Qs

quiz-placeholder

Similar activities

Introduction to MongoDB and NoSQL Quiz

Introduction to MongoDB and NoSQL Quiz

1st Grade

15 Qs

Administración BD - Configuración y administración

Administración BD - Configuración y administración

1st Grade

10 Qs

Webdev Backend Level 2

Webdev Backend Level 2

5th - 8th Grade

10 Qs

MariaDB

MariaDB

1st Grade

10 Qs

Workshop Auto-Workflow n8n for beginner

Workshop Auto-Workflow n8n for beginner

5th Grade

20 Qs

AZ-900

AZ-900

1st - 3rd Grade

10 Qs

Lesson 3 - Review Database

Lesson 3 - Review Database

1st - 3rd Grade

10 Qs

Filesystem and Database

Filesystem and Database

1st Grade

15 Qs

EF Core basics

EF Core basics

Assessment

Quiz

Computers

1st - 5th Grade

Medium

Created by

Nataly Revutska

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following development approaches EF Core supports?

Code-First and Database-First

Model-First and Database-First

Code-First, Database-First, Model-First

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fluent API is most commonly accessed by overriding the _____________ method on your derived DbContext.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to execute plain SQL in EF?

DbSet.ExecuteSqlCommand()

DbContext.SqlQuery()

DbSet.SqlQuery()

u can not execute plain SQL in EF

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The _______ attribute can be applied to properties of an entity class for which we do not want to create corresponding columns in the database

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

The composite key can be created using:

Fluent API

DataAnnotations

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Does EFC wrap operation in a transaction, when you execute SaveChanges() to insert, update or delete data into the database?

Yes

No

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Whether the created index is unique by default?

Yes

No

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?