Hi all,
I'm designing classes for my application.
I'd like to create a business entity that could be expanded with other properties
when needed.
For example, this could be my entity:
MyBusinessClass
-> Property1
-> Property2
-> ...
-> OtherProperties
The "OtherPropertie s" property of the class could expose a name value collection
with the other properties associated to the entity.
Now, the question is:
can I use System.Configur ation.SettingsP roperty class to define the additional
property, and so declare the "OtherPrope rty" as SettingsPropert yCollection?
I mean: has someone used this before? Are this classes designed for this
purpose?
Thanks
Bye
Stefano
I'm designing classes for my application.
I'd like to create a business entity that could be expanded with other properties
when needed.
For example, this could be my entity:
MyBusinessClass
-> Property1
-> Property2
-> ...
-> OtherProperties
The "OtherPropertie s" property of the class could expose a name value collection
with the other properties associated to the entity.
Now, the question is:
can I use System.Configur ation.SettingsP roperty class to define the additional
property, and so declare the "OtherPrope rty" as SettingsPropert yCollection?
I mean: has someone used this before? Are this classes designed for this
purpose?
Thanks
Bye
Stefano
Comment