
EF Core basics
Authored by Nataly Revutska
Computers
1st - 5th Grade
Used 6+ times

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 BLANKS QUESTION
1 min • 1 pt
Fluent API is most commonly accessed by overriding the (a) 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 BLANKS QUESTION
1 min • 1 pt
The (a) 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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?