0
private static void BuidSchema(NHibernate.Cfg.Configuration config)
{
new SchemaExport(config).Execute(false,true,false);
}
지금이 내 데이터베이스를 다시 계속해서이 선을 능통 자 NHibernate를 사용하고 있습니다입니다. 매개 변수를 오해하고 있습니까?
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.
내가 존재하는 경우 재 작성되는 내 DB를 중지 할 것 false로 justDrop 설정 생각했다.
ryudice 그러면 jsutDrop은 무엇을합니까? 존재하지 않는 경우에만 db를 생성하도록 할 수 있습니까? – chobo2