NHibernate Mapping Validation Tool?

posted @ Thursday, May 24, 2007 11:44 PM

 

Writing my last post got me thinking...  Surely someone has written an automated script or tool that could examine NHibernate mapping files and verify all the items I pointed out in my previous post.  Or maybe even, another step further, also make sure the column names specified in the mapping files actually exist in the tables in a real database schema!

I'm very tempted to write a NAnt/MSBuild task to do this kind of thing so I can run it as part of my test suite.  I'm thinking something like this would be very useful as a kind of quick "smoke test" for NHibernate mappings.

But, before I do...

Does anyone know of an automated tool that does this kind of thing?

Comments
joeyDotNet - 5/25/2007 1:27 PM
# re: NHibernate Mapping Validation Tool?
Ha! Yeah, really. It probably wouldn't even take Ayende "40 minutes"... :P
Post Comment






Please add 2 and 1 and type the answer here: