public CreateDatabaseFinish(CreateDatabaseModel newDatabase)
 {
     InitializeComponent();
     _newDatabase = newDatabase;
     var commandDdl = SqlCommandBuilder.GenerateDatabaseDdl(_newDatabase.DatabasePath, _newDatabase.LogPath,
         _newDatabase.Collation, _newDatabase.PageSize);
     DdlTextBox.Text = commandDdl;
     var commandInit = SqlCommandBuilder.GenerateDatabaseInit(_newDatabase.DatabasePath, _newDatabase.LogPath,
         _newDatabase.Collation, _newDatabase.PageSize);
     CommandTextBox.Text = commandInit;
 }
 public CreateDatabaseLog(CreateDatabaseModel model)
 {
     InitializeComponent();
     _newDatabase = model;
 }
 public CreateDatabaseLocation()
 {
     InitializeComponent();
     _newDatabase = new CreateDatabaseModel();
 }
 public CreateDatabasePage(CreateDatabaseModel newDatabase)
 {
     InitializeComponent();
     _newDatabase = newDatabase;
 }