Hi
I need to store "dynamic" data, which simply means:
Some fields might be not used or maybe a new datafield is added.
So if I create a class with every single field which might be needed,
I will most likely end up having a class where many fields are unused.
To counter this issue I've been using a somewhat custimized Dictionary(of String, Object) so I can use the Key in a Path like manner.
For example:
"File\Hash\CRC" => "6c2f28d3"
"File\Path" => "C:\"
etc...
I've been wondering if there are some other approaches to solve this problem.
I need to store "dynamic" data, which simply means:
Some fields might be not used or maybe a new datafield is added.
So if I create a class with every single field which might be needed,
I will most likely end up having a class where many fields are unused.
To counter this issue I've been using a somewhat custimized Dictionary(of String, Object) so I can use the Key in a Path like manner.
For example:
"File\Hash\CRC" => "6c2f28d3"
"File\Path" => "C:\"
etc...
I've been wondering if there are some other approaches to solve this problem.