To define a composite primary key using Fluent API, the ________ method is combined with the ________ method.
- HasKey, HasForeignKey
- HasKey, WithKey
- HasOne, WithOne
- WithKey, HasKey
To define a composite primary key using Fluent API, the HasKey method is combined with the WithKey method.
Loading...
Related Quiz
- How can compiled queries improve performance in Entity Framework?
- In distributed systems, Entity Framework leverages ________ to manage transactional consistency across multiple databases.
- What happens to the state of a transaction if an exception occurs during the execution of multiple operations within a transaction?
- How do you map a stored procedure to a domain model in Entity Framework?
- To optimize performance in a TPH scenario, the ________ column should be indexed.