I need to load the DisplayName for a property dynamically (from a database). For example something like this:
[DisplayName(getDescriptionForLanguage("test"))]
public string test{ get; set; }
But it's only possible to load a DisplayName dynamically, only constants are allowed.
Is there some way to get the DisplayName as result of a method and NOT from a Resourcefile or a constant?