G
Guest
I would like to know if anyone can suggest how to implement the following:
We need to have classes who's properties are defined by a database. The
properties can not be hard coded. In addition properties datatype will also
be defined by the database and are subject to change in the future. So a
property that may return an int could in the future return a bool value.
Two questions:
1. How do you implement said senerio?
2. How do you implement it in a such a way that if the return value changes
your application can roll with it rather than causing an exception?
--Demetri
We need to have classes who's properties are defined by a database. The
properties can not be hard coded. In addition properties datatype will also
be defined by the database and are subject to change in the future. So a
property that may return an int could in the future return a bool value.
Two questions:
1. How do you implement said senerio?
2. How do you implement it in a such a way that if the return value changes
your application can roll with it rather than causing an exception?
--Demetri