public void FillForm(IDatabaseForm form)
        {
            form.SelectedDatabaseType = DatabaseTypes.Oracle;

            form.SetDatabase(connector.DatabaseName);
            form.UseIntegratedSecurity = connector.ConnectionInformation.UseIntegratedSecurity;
            form.Username           = connector.ConnectionInformation.UserName;
            form.Password           = connector.ConnectionInformation.Password;
            form.SelectedServerName = connector.ConnectionInformation.ServerName;
            form.Port        = connector.ConnectionInformation.Port;
            form.ServiceName = connector.ConnectionInformation.ServiceName;
        }
        public void FillForm(IDatabaseForm form)
        {
            form.SelectedDatabaseType = DatabaseTypes.SQLServerExpress;

            if (connector.ConnectionInformation.UseFileName)
            {
                form.SetDatabaseFilename(connector.DatabaseName);
            }
            else
            {
                form.SetDatabase(connector.DatabaseName);
            }

            form.UseIntegratedSecurity = connector.ConnectionInformation.UseIntegratedSecurity;
            form.Username           = connector.ConnectionInformation.UserName;
            form.Password           = connector.ConnectionInformation.Password;
            form.SelectedServerName = connector.ConnectionInformation.ServerName;
            form.Port        = connector.ConnectionInformation.Port;
            form.ServiceName = connector.ConnectionInformation.ServiceName;
        }