Exemplo n.º 1
0
        public static HB_QUOTATION_UNIT[] List()
        {
            HB_QUOTATION_UNIT hb_quotation_unit;

            HB_QUOTATION_UNIT[] hb_quotation_unitArray;
            hb_quotation_unit      = new HB_QUOTATION_UNIT();
            hb_quotation_unitArray = (HB_QUOTATION_UNIT[])CommonClassDB.Instance(hb_quotation_unit).load(hb_quotation_unit, "OrderId");
Label_0020:
            return(hb_quotation_unitArray);
        }
Exemplo n.º 2
0
        public static HB_QUOTATION_UNIT[] List(string __strFilter, string __strSort, int __nPageIndex, int __nPageSize)
        {
            HB_QUOTATION_UNIT hb_quotation_unit;

            HB_QUOTATION_UNIT[] hb_quotation_unitArray;
            HB_QUOTATION_UNIT[] hb_quotation_unitArray2;
            hb_quotation_unit       = new HB_QUOTATION_UNIT();
            hb_quotation_unitArray  = (HB_QUOTATION_UNIT[])CommonClassDB.Instance(hb_quotation_unit).load(hb_quotation_unit, __nPageIndex, __nPageSize, __strFilter, __strSort);
            hb_quotation_unitArray2 = hb_quotation_unitArray;
Label_0021:
            return(hb_quotation_unitArray2);
        }
Exemplo n.º 3
0
        public static void DelTrue(int __nID)
        {
            HB_QUOTATION_UNIT hb_quotation_unit;
            bool flag;

            if (((__nID < 1) == 0) == null)
            {
                goto Label_0028;
            }
            hb_quotation_unit    = new HB_QUOTATION_UNIT();
            hb_quotation_unit.Id = __nID;
            CommonClassDB.Instance(hb_quotation_unit).delte(hb_quotation_unit);
Label_0028:
            return;
        }
Exemplo n.º 4
0
        public static HB_QUOTATION_UNIT Get(int __nID)
        {
            HB_QUOTATION_UNIT hb_quotation_unit;
            HB_QUOTATION_UNIT hb_quotation_unit2;
            bool flag;

            if (((__nID < 1) == 0) != null)
            {
                goto Label_0010;
            }
            hb_quotation_unit2 = null;
            goto Label_0037;
Label_0010:
            hb_quotation_unit    = new HB_QUOTATION_UNIT();
            hb_quotation_unit.Id = __nID;
            hb_quotation_unit2   = (HB_QUOTATION_UNIT)CommonClassDB.Instance(hb_quotation_unit).get(hb_quotation_unit, hb_quotation_unit.Id);
Label_0037:
            return(hb_quotation_unit2);
        }