Ejemplo n.º 1
0
        public void TestQuery()
        {
            List <BS_ORDER> list = m_BsOrderDal.GetList(0, null, DateTime.MinValue, DateTime.Now.AddDays(1));

            foreach (BS_ORDER item in list)
            {
                Console.WriteLine(ModelToStringUtil.ToString(item));
            }
        }
Ejemplo n.º 2
0
        public async Task TestQueryAsync()
        {
            var             task = m_BsOrderDal.GetListAsync(0, null, DateTime.MinValue, DateTime.Now.AddDays(1));
            List <BS_ORDER> list = await task;

            foreach (BS_ORDER item in list)
            {
                Console.WriteLine(ModelToStringUtil.ToString(item));
            }
        }
Ejemplo n.º 3
0
        public void TestQueryPage()
        {
            PagerModel pagerModel = new PagerModel();

            pagerModel.CurrentPage = 1;
            pagerModel.PageSize    = 10;
            List <BS_ORDER> list = m_BsOrderDal.GetListPage(ref pagerModel, 0, null, DateTime.MinValue, DateTime.Now.AddDays(1));

            foreach (BS_ORDER item in list)
            {
                Console.WriteLine(ModelToStringUtil.ToString(item));
            }
        }