Author: GD196 | Posted on: 10/21/2009 9:01:11 AM | Views : 270

Hello,


I have an object called Company that has 3 basic properties:
string Name, Address companyAddress, int establishYear


I am polulating the properties from a table in a database. I would like to be able to take 2 Company objects and compare and find out which values are different. Is there an easy way to loop over all the properties in 2 objects to check? Basically what I am trying to do is give the front-end user the ability to make any changes to the Company object and only update the fields that were changed. Not all the fields in the database table.


Any ideas?


Thank you!

...

Go to the complete details ...