Generic object comparison diff routine

Posted by MicMit on Stack Overflow See other posts from Stack Overflow or by MicMit
Published on 2010-05-12T11:49:49Z Indexed on 2010/05/12 11:54 UTC
Read the original article Hit count: 138

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about generics