Search Header Logo

EF Core basics

Authored by Nataly Revutska

Computers

1st - 5th Grade

Used 5+ times

EF Core basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?