Entity Framework Core introduced significant changes in the way ________ configurations are handled compared to Entity Framework 6.
- Code-first conventions
- Data annotations
- Fluent API
- XML configuration
Fluent API is a programmatic way to configure database mappings and relationships in Entity Framework Core. It provides more flexibility and control over the configuration compared to Data annotations or XML configuration. This makes it the preferred approach for handling configurations in Entity Framework Core.
Loading...
Related Quiz
- What are the benefits of using Repository and Unit of Work patterns with Entity Framework in a multi-layered architecture?
- What is the primary purpose of transactions in Entity Framework?
- During the initial setup of a database using Entity Framework, which method is commonly used to seed data?
- How does Entity Framework handle aggregate functions on nullable properties?
- How can you configure an Enumeration type to be stored as a string in the database?