Figure 1. Map Relational Data to XML.
You can use the new XmlAdapter class with XML Views to turn relational data into custom XML structures. You call XmlAdapter's Fill() method to fill an XPathDocument2 object with data and then use the object in your application. You can also use the XmlAdapter to perform updates to the source relational database.