Object-relational mapping is a commonly desired software architecture element on any platform because of the encapsulation and modeling of data behavior from a relational database into an object. Although you can use XML Schema Document (XSD) files to create objects from data, these objects are not easily extensible in regard to modeling data behavior. The technique discussed in this chapter extends the concept provided by Duwamish7 (a demo application from Microsoft) to create custom-built mapped objects.