Search Header Logo

EF Core advanced

Authored by Nataly Revutska

Computers

1st - 5th Grade

Used 2+ times

EF Core advanced
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

.Where(Func<int, int> predicate) is a signature of

IEnumerable

IQueryable

2.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

To provide lazy loading we need to mark navigation property as _____ and the entity should not be _____

(write two words separated by space)

(a)  

3.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

TPH розшифровується як (a)  

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What can IEnumerable do?

LINQ-to-SQL

LINQ-to-Object

Can pass a compiled function to LINQ extensions

Can pass an expression tree to LINQ extensions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How Include() solves N+1 problem?

By running queries asynchronously

Using JOIN

By grouping big number of queries

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will be returned if LazyLoading is turned On and Off respectively ?

var countries = db.Countries.Take(3);


var capitals = new List<Capital>();


foreach(var country in countries)

{

capitals.Add(country.Capital.Name);

}


return capitals;

On (null reference exception) | Off (null reference exception)

On (null reference exception) | Off (returns list of Capital names)

On (returns list of Capital names) | Off (null reference exception)

On (returns list of Capital names) | Off (returns list of Capital names)

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which additional method(s) we can use in the explicit loading?

Collection()

LoadAll()

Reference()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?