Is possible use NHibernate to generate a SQL script file?
If not, there is any lib that I can use with NH to generate it instead of I commit the changes?
Is possible use NHibernate to generate a SQL script file?
If not, there is any lib that I can use with NH to generate it instead of I commit the changes?
NHibernate does not out support exporting of SQL commands, but you can tweak the it's logging to log sql along with the parameters, please refer.