I have a need for lots of custom properties at both the entity and entityfield level. I don't want developers to have to go at them via hashtables and string identifiers. So I've customized some templates and I'm trying to generate these custom fields as properties on the EntityFields helper classes.
For example, one set of custom field properties are DisplayName, DisplayFormat and FieldGUID (for localization). I've created an EntityField3 class in an extensions dll and modified all the required templates so that I can get at that and now the factory is newing my EntityField3 with all my new custom properties as direct access properties.
However, my custom field properties are attached to a static hashtable on the entity itself and I don't see a way to get to this (without getting into reflection) from the EntityField.
Is there any way to do this?