Scenario: You are designing a data-driven application, and you need to work with multiple related tables. Which ADO.NET feature will help you manage these relationships effectively?

  • DataAdapter
  • DataReader
  • DataRelation
  • DataSet
Detailed A DataRelation in ADO.NET helps in managing relationships between multiple related tables effectively. It allows defining parent-child relationships between DataTables, which facilitates operations like navigation, constraint enforcement, and maintaining data integrity. Utilizing DataRelations enables efficient querying and manipulation of data across related tables.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *