Exemplo n.º 1
0
        public bool them(DTO_HoaDonDV obj)
        {
            int paraNumber = 5;

            string[] paraName = new string[paraNumber];
            object[] values   = new object[paraNumber];
            paraName[0] = "MADV";
            paraName[1] = "MAPHIEUTHUE";
            paraName[2] = "SLDV";
            paraName[3] = "NGAYTHUE";
            paraName[4] = "TRANGTHAI";
            values[0]   = obj.Madichvu;
            values[1]   = obj.Maphieuthue;
            values[2]   = obj.Soluongdv;
            values[3]   = obj.Ngaysudung;
            values[4]   = obj.Tinhtrang;
            return(Update("SP_HOADONDV_Them", paraName, values, paraNumber));
        }
Exemplo n.º 2
0
 public bool them(DTO_HoaDonDV obj)
 {
     return(hoadondv.them(obj));
 }