One-to-One relationships in Entity Framework can be mapped using the ___________ attribute.
- [ForeignKey]
- [InverseProperty]
- [OneToOne]
- [Table]
In Entity Framework, the [InverseProperty] attribute is utilized to define one-to-one relationships between entities, specifying the navigation property on the dependent entity.
Loading...
Related Quiz
- To implement custom data binding, you can create a custom class that implements the ___________ interface.
- What is the difference between a dataset and a data reader in ADO.NET?
- What does LINQ stand for?
- What is the difference between EntityState.Added and EntityState.Modified in Entity Framework?
- The let keyword in LINQ is used to define ___________ that can be reused within the query.