public void Step_02_GetByCategoryID()
        {
            Console.WriteLine("2. Selects all Category entitys.");
            Stopwatch watch = Stopwatch.StartNew();

            CategoryInfoList list = CategoryInfoList.GetByCategoryId(TestCategoryID);

            Assert.IsTrue(list.Count == 1);

            Console.WriteLine("Time: {0} ms", watch.ElapsedMilliseconds);
        }
Пример #2
0
 internal static CategoryInfoList CategoryFetchInfoList(CategoryCriteria criteria)
 {
     return(CategoryInfoList.FetchCategoryInfoList(criteria));
 }