I'm looking for best option that is available today with SQL Server Backend & C# has front end for storing data which has dynamic columns. Currently My Scenario is like
I have Object say "Item" which holds Pricing information for multiple currency like
ID Name AUD USD CAD INR
1 Item1 1 1 1 1
As of today we have fixed number of currency (# of Currency to display is based on XML Configured Currency File), we currently implemented table with fixed number of currency. Let assume tomorrow if there is new currency added say EURO without doing much changes to front End, ( I can assume datatable in this scenario) and no major changes to backend tables, do we have any new features either in SQL Server or C# which supports dynamic columns ?
One Approach which I'm thinking of (Old approach) Create ITEM Class with ItemID , ItemName and Dictionary/Expando Object/ Property BAG with Currency prices like
Item1 RAM 12
Is it better to seralize those PropertyBag/Expando Object in XML or JSON, which is faster to Save and Retrieve.
I would like to view all Currencies for each item in Relational/Table Format while I Query.
How can i have datatable with PropertyBag.