To implement a TPC inheritance strategy, you need to override the ________ method and configure the mappings.
- OnConfiguring
- OnModelCreating
- OnModelCreating
- OnModelCreating
To implement a Table-Per-Concrete (TPC) inheritance strategy in Entity Framework, you need to override the OnModelCreating method in your DbContext class and configure the mappings for each concrete type separately.
Loading...
Related Quiz
- How can Entity Framework be integrated with the Business Logic Layer in a multi-layered architecture?
- In complex queries involving non-entity types, how does Entity Framework handle performance optimization?
- What is Entity Splitting in the context of Entity Framework?
- Which command is used to update the database to the latest migration?
- How do you count the number of entities in a DbSet using an aggregate function?