I've defined a set of customer properties in each entity, my application will read those properties in presentation layer.
I've written some general logic in DataBindings_CollectionChanged event of my ui control to read customer properties from entity, and set different behaviours and look accroding to the value of customer properties.
Because the ui controls will be used in many forms and data bound to different entity, so I cannot hard coded entity name, like CustomerEntity.CustomProperties. I want to write a geranal routine to read customer properties from a EntityBase2 in DataBindings_CollectionChanged event, however, I find that CustomProperties doesn't exist in EntityBase2
Any suggestion to write a general routine to read CustomProperties from entity?
Thank you very much!!!