예제 #1
0
        public ISyncWSResult findProducts(ISyncWSParameter dataParameter)
        {
            productSearchResult res  = new productSearchResult();
            ArrayList           list = ReaderHelper.MakeTestData(10, new product());

            res.list      = list.ToArray(typeof(product)) as product[];
            res.totalHits = res.list.GetLength(0);
            return((searchResult)res);
        }
예제 #2
0
        public ISyncWSResult find(ISyncWSParameter dataParameter)
        {
            warehouseSearchResult res  = new warehouseSearchResult();
            ArrayList             list = ReaderHelper.MakeTestData(10, new warehouse());

            res.list      = list.ToArray(typeof(warehouse)) as warehouse[];
            res.totalHits = res.list.GetLength(0);
            return((searchResult)res);
        }