I've got one table for all my dictionaries: "Id, TypeId, Value" and so for particular TypeId I've got pair: "Id + Value" which is my concrete dictionary.
How do I should map it?
At the moment I can imagine that I'll have an abstract class Dictionary, and concrete classes: InvoiceTypeDictionary, PaymentTypeDictionary etc. (I can set the subclass discriminator to TypeId and that's it). But is there another way to do it, to avoid necessary a lot of subclasses?