static public Set ( string key, string value ) : void | ||
key | string | |
value | string | |
리턴 | void |
private void SaveDialogSettings() { DBExecutor.UseDriver useDriverType; UIConfig.Set(UIConfig.AUTH_TYPE, this.GetAuthTypeName(this.comboBoxAuthType.SelectedIndex)); UIConfig.Set(UIConfig.SQL_DIALECT, this.GetDatabaseTypeName(this.comboBoxDatabase.SelectedIndex)); UIConfig.Set(UIConfig.DATA_SET_NAME, this.textBoxUserName.Text.ToString()); UIConfig.Set(UIConfig.SQLDEP_KEY, this.textBoxKey.Text.ToString()); UIConfig.Set(UIConfig.SERVER_NAME, this.textBoxServerName.Text.ToString()); UIConfig.Set(UIConfig.SERVER_PORT, this.textBoxPort.Text.ToString()); UIConfig.Set(UIConfig.LOGIN_NAME, this.textBoxLoginName.Text.ToString()); UIConfig.Set(UIConfig.LOGIN_PASSWORD, this.textBoxLoginPassword.Text.ToString()); UIConfig.Set(UIConfig.DATABASE_NAME, this.textBoxDatabaseName.Text.ToString()); UIConfig.Set(UIConfig.DRIVER_NAME, this.GetDriverName(out useDriverType)); }
private void SaveDialogSettings() { DBExecutor.UseDriver useDriverType; UIConfig.Set(UIConfig.AUTH_TYPE, this.GetAuthTypeName(this.comboBoxAuthType.SelectedIndex)); UIConfig.Set(UIConfig.SQL_DIALECT, this.GetDatabaseTypeName(this.comboBoxDatabase.SelectedIndex)); UIConfig.Set(UIConfig.DATA_SET_NAME, this.textBoxUserName.Text); UIConfig.Set(UIConfig.SQLDEP_KEY, this.textBoxKey.Text); UIConfig.Set(UIConfig.SERVER_NAME, this.textBoxServerName.Text); UIConfig.Set(UIConfig.SERVER_PORT, this.textBoxPort.Text); UIConfig.Set(UIConfig.LOGIN_NAME, this.textBoxLoginName.Text); UIConfig.Set(UIConfig.LOGIN_PASSWORD, this.textBoxLoginPassword.Text); UIConfig.Set(UIConfig.DATABASE_NAME, this.textBoxDatabaseName.Text); UIConfig.Set(UIConfig.DRIVER_NAME, this.GetDriverName(out useDriverType)); UIConfig.Set(UIConfig.FS_PATH, this.textBoxRootDirectory.Text); UIConfig.Set(UIConfig.FS_MASK, this.textBoxFileMask.Text); UIConfig.Set(UIConfig.FS_DEFAULT_SCHEMA, this.textBoxDefautSchema.Text); UIConfig.Set(UIConfig.FS_DEFAULT_DB, this.textBoxDefaultDatabase.Text); UIConfig.Set(UIConfig.SNOWFLAKE_ACCOUNT, this.TextBoxAccount.Text); UIConfig.Set(UIConfig.SNOWFLAKE_ROLE, this.textBoxRole.Text); UIConfig.Set(UIConfig.SNOWFLAKE_WAREHOUSE, this.textBoxWarehouse.Text); }