We are trying to redesign a database that currently holds thousands of parameters for different datatypes and currently has a flat data structure.
We generate XML files from the database, which our software application uses to load and display the required data. As the complexity of the data used by the application increases, predominantly becoming more hierarchical and using more arrays, the current database structure is obviously not suitable for purpose.
We have discussed the possibility of the using a parent-child relationship for parameters that have an array of values, using an index to order the data. However, this does not solve the problem of storing data structures and arrays of data structures within a data structure within a database.
A typical data structure used within the application looks like the following:
class A {
int MyInt;
List<B> MyBs;
C MyC; }
class B {
string MyString;
double[] MyNumbers; }
class C {
string MyString;
double MyDouble;
B MyB;
List<B> MyBs; }
Can anyone help advise us on how we might solve this issue?