Beispiel #1
0
        private void initConfig()
        {
            ftt = new FTaxType();
            ftt.f_tax_type_id     = "f_tax_type_id";
            ftt.f_tax_type_code   = "f_tax_type_code";
            ftt.f_tax_type_name_t = "f_tax_type_name_t";
            //itmGrp.item_type_name_t = "item_type_name_t";

            ftt.table   = "f_tax_type";
            ftt.pkField = "f_tax_type_id";

            lExpnT = new List <FTaxType>();
        }
Beispiel #2
0
        public void getlItmGrp()
        {
            //lDept = new List<Department>();

            DataTable dt = new DataTable();

            dt = selectAll();
            foreach (DataRow row in dt.Rows)
            {
                FTaxType curr1 = new FTaxType();
                curr1.f_tax_type_id     = row[ftt.f_tax_type_id].ToString();
                curr1.f_tax_type_code   = row[ftt.f_tax_type_code].ToString();
                curr1.f_tax_type_name_t = row[ftt.f_tax_type_name_t].ToString();

                lExpnT.Add(curr1);
            }
        }