XML and Optimistic Concurrency

An XML format can also be used to identify the current and original data values (data elements) along with row error information and row order. This is referred to as the DiffGram XML format. The DiffGram XML format is what is usually used in the .NET Framework to send and receive information by the applications. It is what is serialized for transport across a network connection to other applications or services and is the persistent DataSet representation. You load up the contents of the DataSet from XML with the ReadXml method and write the contents of this DataSet to XML using the WriteXml method. One of the options you have is to specify that the contents be read or written in a DiffGram XML format. This is ...

Get Sams Teach Yourself ADO.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.