Example #1
0
        public IList <PNK_VatGroup> GetVatGroupAll()
        {
            IList <PNK_VatGroup> lst = new List <PNK_VatGroup>();
            PNK_VatGroup         obj = new PNK_VatGroup();

            lst = dal.GetAllBy(obj, string.Empty, null);
            return(lst);
        }
Example #2
0
        public IList <PNK_Province> GetProvinceAll()
        {
            IList <PNK_Province> lst      = new List <PNK_Province>();
            PNK_Province         province = new PNK_Province();

            lst = dal.GetAllBy(province, "WHERE Type = 0 ", null);
            return(lst);
        }
Example #3
0
        public IList <PNK_UnitMeasure> GetUnitMeasureAll()
        {
            IList <PNK_UnitMeasure> lst      = new List <PNK_UnitMeasure>();
            PNK_UnitMeasure         province = new PNK_UnitMeasure();

            lst = dal.GetAllBy(province, string.Empty, null);
            return(lst);
        }
Example #4
0
        public IList <PNK_SalesPriceType> GetSalesPriceTypeAll()
        {
            IList <PNK_SalesPriceType> lst      = new List <PNK_SalesPriceType>();
            PNK_SalesPriceType         province = new PNK_SalesPriceType();

            lst = dal.GetAllBy(province, string.Empty, null);
            return(lst);
        }
Example #5
0
        public IList <PNK_BookingPrice> GetList(int productId)
        {
            IList <PNK_BookingPrice> lst          = new List <PNK_BookingPrice>();
            PNK_BookingPrice         bookingPrice = new PNK_BookingPrice();

            lst = dal.GetAllBy(bookingPrice, string.Format("where ProductId={0}", productId), null);
            //lst = dal.GetList("BookingPrice_Get", null, out total);
            return(lst);
        }
Example #6
0
        public IList <PNK_BookingGroup> GetList()
        {
            IList <PNK_BookingGroup> lst          = new List <PNK_BookingGroup>();
            PNK_BookingGroup         bookingPrice = new PNK_BookingGroup();

            lst = dal.GetAllBy(bookingPrice, "where 1=1", null);

            return(lst);
        }
Example #7
0
        public IList <PNK_PriceClass> GetList()
        {
            IList <PNK_PriceClass> lst          = new List <PNK_PriceClass>();
            PNK_PriceClass         bookingPrice = new PNK_PriceClass();

            lst = dal.GetAllBy(bookingPrice, "where 1=1", null);

            return(lst);
        }
Example #8
0
        public IList <PNK_Configuration> GetList()
        {
            IList <PNK_Configuration> lst = new List <PNK_Configuration>();

            if (!CacheHelper.Get("Configuration_GetList_" + WebUtils.CurrentUserIP, out lst))
            {
                lst = dal_2C.GetAllBy(new PNK_Configuration(), null, null);
                CacheHelper.Add(lst, "Configuration_GetList_" + WebUtils.CurrentUserIP);
            }
            return(lst);
        }
Example #9
0
 public IList <T> GetAllBy(T obj, string whereClause, DGCParameter[] parameters)
 {
     return(dal.GetAllBy(obj, whereClause, parameters));
 }