title: Is it possible to create a database using NHibernate?
body: <p>I am using NHibernate with FluentNHibernate for my DAL. I am also using <code>SchemaExport</code> and <code>SchemaUpdate</code> to create and update my database schema.</p>
  
  <p>My problem is that the schema operations all require the database to exist before they will work. I want to programmatically create my database and update the schema as there may be multiple databases and the creating of the database is not only a once-off operation.</p>
  
  <p>I know I can do this manually by executing a create database command on a connection to the master database, but this feels wrong considering that I otherwise use NHibernate for all my database interactions. As an aside, I use a SQLite inmemory database for my unit tests so any sql I write will then have to know which database I'm using.</p>
  
  <p>Is there any way to get NHibernate to create my database for me?</p>