Hello, I am trying to run down various issues and so sometimes I just want to run a SchemaExport on a single Assembly to get the SQL output. So, for example, I may have:
var cfg = new Configuration(); cfg.Configure(); cfg.AddAssembly(typeof (Tester).Assembly); new SchemaExport(cfg).Execute(true, false, false); To me, all I am asking is to take the Tester Assembly (I think this ends up being the Tester.hbm.xml file) and spit out the SQL to build the DB table. What I am finding is that when this runs, other Assembly files are also being run as I get the SQL to generate tables for those other items. On top of that, I do not get the SQL output for the Assembly I am asking for. Any clues? Thanks - Peter -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
