I want to write a SQL migration tool. This tool must:
- merge new scripts in a folder,
- validate the merging of those scripts,
- run those scripts against a database.
- if a validation error occurred, then highlight the invalid rows.
- if the script was successful deployed, I want to save this information in a database with the version and other related information.
Can I do this with some validation framework, or maybe can I use nHibernate?