Changes to the CatalogDS Class Necessary to Support Product Reviews

We modified the CatalogDS class slightly to enable support of product reviews. A simple addition, representing the ProductReviews table schema, was made to the CatalogDS.xsd file. Listing 10.2 shows what the new schema looks like, with the new sections italicized.

Listing 10.2. The CatalogDS Schema
<?xml version="1.0" encoding="utf-8" ?>
<xsd:schema id="DataSet1" targetNamespace=""
 elementFormDefault="qualified" xmlns=""
xmlns:xsd="" xmlns:msdata= "urn:schemas-microsoft-com
:xml-msdata"> ...

Get Building e-Commerce Sites with the .NET Framework 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.