S
Stephen Walch
We have an ADO.NET in our project which unfortunately is not quite
normalized. In particular, there are columns who's values are string
arrays. An example from the schema:
<xs:schema id="MyDataSet" ...>
<xs:element name="MyDataSet" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Item">
<xs:complexType>
<xs:sequence>
<xs:element name="itemid" type="xs:string" />
<xs:element name="categories" msdataataType="System.String[]"
type="xs:string" />
....
For a number of reasons (including the fact that XML Serialization does not
seem to work very well with this type of situation) I would like look at
normalizing this data set. That is, create a separate table(s) and create
the appropriate data relations.
I am no database normalization expert, but I am sure I can (eventually)
construct a proper schema and write a routine to convert the data for this
particular case. But there are a lot of cases like this and it would be
great to have a general facility for doing such things. Has anyone
encountered a class/tool/sample/paper that helps for taking an ADO.NET data
set and normalizes it?
Thanks,
-Steve
normalized. In particular, there are columns who's values are string
arrays. An example from the schema:
<xs:schema id="MyDataSet" ...>
<xs:element name="MyDataSet" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Item">
<xs:complexType>
<xs:sequence>
<xs:element name="itemid" type="xs:string" />
<xs:element name="categories" msdataataType="System.String[]"
type="xs:string" />
....
For a number of reasons (including the fact that XML Serialization does not
seem to work very well with this type of situation) I would like look at
normalizing this data set. That is, create a separate table(s) and create
the appropriate data relations.
I am no database normalization expert, but I am sure I can (eventually)
construct a proper schema and write a routine to convert the data for this
particular case. But there are a lot of cases like this and it would be
great to have a general facility for doing such things. Has anyone
encountered a class/tool/sample/paper that helps for taking an ADO.NET data
set and normalizes it?
Thanks,
-Steve