public SettingsDetailViewModel()
            : base("Add New Setting", "/Resources/add-new.png")
        {
            Databases = new ObservableCollection <DatabaseViewModel>();

            GetDbCommand = new DelegateCommand(GetDbList, CanGetDbList);
            SaveCommand  = new DelegateCommand(Save, CanSave);
            ReSetCommand = new DelegateCommand(Reset, CanReset);

            dbManager   = new DbServerManager();
            settingName = dbManager.GetSettingName();
            RaisePropertyChanged("SettingName");
        }
        private void Reset()
        {
            Id         = 0;
            serverName = string.Empty;
            RaisePropertyChanged("ServerName");

            password = string.Empty;
            RaisePropertyChanged("Password");

            userName = string.Empty;
            RaisePropertyChanged("UserName");

            settingName = string.Empty;
            RaisePropertyChanged("SettingName");

            integratedSecurity = false;
            RaisePropertyChanged("IntegratedSecurity");

            databases.Clear();

            settingName = dbManager.GetSettingName();
            RaisePropertyChanged("SettingName");
        }