In many cases, you'll want to include building or updating your database in some larger process, such as a build script or installation process. In this recipe, I'll show you how to use this command-line tool to run our hbm2ddl tasks.
Download the latest release of NHibernate Schema Tool from http://nst.codeplex.com/.
To install NHibernate Schema Tool, follow these steps:
nst.exeto the newly created folder.
C:\Program Files\NHibernateSchemaToolto your
After the installation of the NHibernate Schema Tool, follow these steps: