Пример #1
0
        public void Update(long Id, short IdBacsi, int IdThuoc, int SoLuong, string SoluongDung, string SolanDung, string CachDung, string ChidanThem)
        {
            DmucChidanKedonthuoc item = new DmucChidanKedonthuoc();

            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.IdBacsi = IdBacsi;

            item.IdThuoc = IdThuoc;

            item.SoLuong = SoLuong;

            item.SoluongDung = SoluongDung;

            item.SolanDung = SolanDung;

            item.CachDung = CachDung;

            item.ChidanThem = ChidanThem;

            item.Save(UserName);
        }
Пример #2
0
        public void Insert(short IdBacsi, int IdThuoc, int SoLuong, string SoluongDung, string SolanDung, string CachDung, string ChidanThem)
        {
            DmucChidanKedonthuoc item = new DmucChidanKedonthuoc();

            item.IdBacsi = IdBacsi;

            item.IdThuoc = IdThuoc;

            item.SoLuong = SoLuong;

            item.SoluongDung = SoluongDung;

            item.SolanDung = SolanDung;

            item.CachDung = CachDung;

            item.ChidanThem = ChidanThem;


            item.Save(UserName);
        }