When working with disconnected data in ADO.NET, what is the purpose of the RowVersion column in a DataTable?

  • It stores the foreign key references for related rows.
  • It stores the index of each row in the DataTable.
  • It stores the primary key of each row.
  • It stores the timestamp indicating when the row was last updated.
In ADO.NET, the RowVersion column, also known as the Timestamp column, is used to track changes to rows in a DataTable when working with disconnected data. It stores a value that represents the timestamp of when the row was last updated. This is crucial for concurrency management, allowing ADO.NET to detect whether any changes have been made to a row since it was last retrieved from the database.
Add your answer
Loading...

Leave a comment

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