public OpenDatabaseViewModel(Model.IDatabaseConfiguration iDatabaseConfiguration) { IDatabaseConfiguration = iDatabaseConfiguration; Title = "Open Database"; SqlServerInstances = new ObservableCollection <string>(); }
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); } }