I have stored in an Azure Table some enumerations like this
pk rk | en fr de ...
foo 1 | 'Eune' 'Fune' 'Dune' ...
foo 2 | 'Edoe' 'Fdoe' 'Ddoe' ...
bar 1 | 'Unee' 'Unef' 'Trid' ...
bar 2 | 'Diee' 'Dief' 'Died' ...
bar 3 | 'Trie' 'Tref' 'Trid' ...
en, fr, de etc... are the language codes, and respectively the column names in the table.
What kind of TableEntity should I create in order to load it properly
public class FooEntity : TableEntity
{
public Dictionary<string, string> Descriptions {get; set} // ?
}
and then use them like myFoo["fr"]... is it possible?
Say I have English GUI and I need to display a Foo select with Eune/Edoe as select values.