Based on what you’ve learned about code first conventions and data annotations, can you answer these questions?
As a general rule, to instruct Entity Framework to create a table in the schema, what do you create, and where do you reference it as a DbSet<>
?
Can data annotations be used in conjunction with Code First conventions, or are they mutually exclusive?
To use data annotations in your class definitions you must set a reference to a specific dll. What is it?
The InverseProperty
annotation is used in what situation?
If multiple annotations need to be applied to a single entity, how can they be combined?