O'Reilly logo

Fluent Entity Framework by Rebecca M. Riordan

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

Review

Image

What is the Fluent API syntax to specify the table name of a class?

 

 

What syntax would you use to do the same thing with data annotations?

 

 

What two namespaces will you need to reference in your class file to use data annotations?

 

 

What does the InverseProperty annotation do?

 

 

In what method of the DbContext class do you put Fluent API configuration commands?

 

 

How do you add a configuration class to a Fluent API configuration set?

 

Congratulations! You’ve finished the chapter. Take a minute to think about what you’ve accomplished before you move on to the next one...

List three things you learned in this chapter:

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