Listing all class properties

  • Thread starter Thread starter Stu
  • Start date Start date
S

Stu

Hi,

I have a class with quite a large number of properties that stores booking
information.. I need to create an audit trail for these bookings every time
something is changed. I thought about listing all the properties in the
class and their values and writing a text file for each time the booking
information is changed.

2 questions:
1 - Does this sound like a good way of doing it?
2 - Is there any way of enumerating all of the properties & their values?

Thanks in advance,

Stu
 
Do the reflection give the value of the property at run -time?

If it is just to view the members of each class , then it can also be done
using the class view in the VIEW menu.

nafri
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top