
C# 7 and .NET Core: Modern Cross-Platform Development

Test your knowledge and understanding by answering some questions, get some hands-on practice, and explore this chapter's topics with deeper research.
Answer the following questions:
Which .NET data provider would you use to work with Microsoft SQL Server 2012 Express Edition?
When defining a DbContext
class, what type would you use for the property that represents a table, for example, the Products
property of a Category
entity?
What is the EF convention for primary keys?
When would you use an annotation attribute in an entity class?
Why might you choose the Fluent API in preference to annotation attributes?
Go to the following website and read the official Entity Framework Core documentation. Follow the tutorials to create Windows desktop, and web applications and services. If you have a macOS or a Linux virtual machine, follow the tutorials to use EF Core on those alternative platforms...
Change the font size
Change margin width
Change background colour