示例#1
0
        public void Get_Ten_Items_Test()
        {
            DatabaseLogic datbaseLogic = new DatabaseLogic(new DatabaseConnection());
            int?          i            = datbaseLogic.GetDataWithName("School", 0).Count;

            Assert.AreEqual(10, i);
        }
示例#2
0
 List <Fund> GetTenFounds(string fundName)
 {
     _foundsList = _databaseLogic.GetDataWithName(fundName, _selectedPage);
     SetDropdown();
     return(_foundsList);
 }