Пример #1
0
        /// <summary>
        ///     Adds a database to the collection
        /// </summary>
        /// <param name="server"></param>
        public void AddDatabase(InputDatabase server)
        {
            var viewModel = new DmsDatabaseServerViewModel(server);

            Databases.Add(viewModel);
            FilteredDatabases.Add(viewModel);
            BuildOrganismsList(Databases);
        }
Пример #2
0
 /// <summary>
 ///     Adds a database to the collection
 /// </summary>
 /// <param name="server"></param>
 public void AddDatabase(InputDatabase server)
 {
     var viewModel = new DmsDatabaseServerViewModel(server);
     Databases.Add(viewModel);
     FilteredDatabases.Add(viewModel);
     BuildOrganismsList(Databases);
 }