I've been tasked with running llbl gen validators against entire databases. Basically when we bring on a new client and convert their data, they want to loop through all the entities and validate them all since the conversions are rarely fully correct.
While most of this is straight forward, i just wanted to throw a question out there for anyone that may have done something similar or has any input on this. For the most part it's pretty easy, but in some cases it gets more complicated. For instance, if you have a purchaseorder entity with detail line items, the amount paid on the PO has to equal the line items. This is one of our validators. This complicates it some since it's not always single entity validations.
Any ideas/thoughts/stuff i didn't think of?
is there an easy way to serialize an entity data into xml or something easy to read when one fails that i can write to a database table?
Thanks!