How to see before / after state of objects in SubSonic?

I have some large forms that I need to provide visual cues about the before / after state so that the person approving the form can see what has changed (not the previous answer, that would be a plus). This is currently done with an extra column for each data column (Name, Name_IsModified, Phone, Phone_IsModified, etc.). I'm curious if there is a better way to get around this using SubSonic?

Bootstrapping is done by grabbing data from 6 source tables on 3 different servers. This data is stored in the form tables where it resides until it is approved by various people who will manually update it in live systems, which then update the 6 original tables. Visual cues are primarily used during the approval process, but are sometimes used to investigate when a change has been made in the past.

Since I have a bunch of updates to make, I thought this might be the right time to break away from older versions of the 2000+ code, making my job easier.

Thanks,

Zach

0


a source to share


1 answer


All properties of SubSonic objects are actually collections, and you can pull this and view the changes - all without reflection.



We have a "DirtyColumns" collection (not sure if it's public or not) that we use to trigger updates - this would be something you would like to take a look at.

+1


a source







All Articles