S
Stefano
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 "OtherProperties" 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.Configuration.SettingsProperty class to define the additional
property, and so declare the "OtherProperty" as SettingsPropertyCollection?
I mean: has someone used this before? Are this classes designed for this
purpose?
Thanks
Bye
Stefan
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 "OtherProperties" 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.Configuration.SettingsProperty class to define the additional
property, and so declare the "OtherProperty" as SettingsPropertyCollection?
I mean: has someone used this before? Are this classes designed for this
purpose?
Thanks
Bye
Stefan