Я использую свободный nhibernate и имею эту строку
private static void BuidSchema(NHibernate.Cfg.Configuration config)
{
new SchemaExport(config).Execute(false,true,false);
}
, теперь это продолжает воссоздавать мою базу данных.Я неправильно понимаю параметры?
документация
script
true if the ddl should be outputted in the Console.
export
true if the ddl should be executed against the Database.
justDrop
true if only the ddl to drop the Database objects should be executed.
format
true if the ddl should be nicely formatted instead of one statement per line.
Я подумал, что установка justDrop в false остановит воссоздание моей БД, если она существует.