Generic object comparison diff routine
- by MicMit
The question stems from database tables comparison. Let's say we put left row in the instance Left and the right one into instance Right of the same type. And we'got many tables and respective types.
How to implement more or less generic routine resulting in a collection of diffs e.g.
propertyName , leftValue , rightValue for each such a pair of instances of the same type.