Dynamic Insertion of Attributes

Hi All,  I need to add attributes dynamically to my entities during runtime. Is it possible? For example : Say i have an entity Product consisting of attributes – Product name, Product ID and Price. Say i have to add Manufacturer name as a new attribute in the Product entity during run time. Is that possible? If so, how?  Thanks.
1 answers

You mean can you add attributes to your domain model dynamically during runtime? No, that is not possible AFAIK. You will need to stop your app, add the attribute to your domain model, update and restart your app.

What you could possibly do instead, is create a model where you have an entity and an associated list of ‘attribute’ entities. Then you could add ‘attribute’ objects to the list whenever you need.