Exemplo n.º 1
0
        public OpenDatabaseViewModel(Model.IDatabaseConfiguration iDatabaseConfiguration)
        {
            IDatabaseConfiguration = iDatabaseConfiguration;
            Title = "Open Database";

            SqlServerInstances = new ObservableCollection <string>();
        }
Exemplo n.º 2
0
 public NewDatabaseViewModel(Model.IDatabaseConfiguration iDatabaseConfiguration)
 {
     IDatabaseConfiguration = iDatabaseConfiguration;
     Title = "Create Database";
     SqlServerInstances = new ObservableCollection <string>();
     if (!string.IsNullOrEmpty(IDatabaseConfiguration.SQLServer_LocalServerName))
     {
         SqlServerInstances.Add(IDatabaseConfiguration.SQLServer_LocalServerName);
     }
 }