O'Reilly logo

Code-First Development with Entity Framework by Sergey Barskiy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Self-test questions

Q1. Which base class do you use to configure a class used to contain a number of properties that are common to multiple entities?

  1. EntityTypeConfiguration
  2. ComplexTypeConfiguration
  3. CommonTypeConfiguration

Q2. You must have table names and class names that always match in Entity Framework, true or false?

Q3. Every property in an entity is always persisted to the database, true or false?

Q4. What is the name of the technique that involves selecting a subset of columns from a table via a query in Entity Framework?

  1. Projection
  2. Subquery
  3. You cannot do this in Entity Framework

Q5. You must declare a result type to dynamically select columns from multiple tables via a single query, true or false?

Q6. You must use the Join keyword to select data ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required