public void Insert(long IdBenhnhan,string MaLuotkham,long IdPhieuDct,string HanhDong,int? NguoiTao,int? NgayTao,string NoiDung) { KcbLichsuInphoiBhyt item = new KcbLichsuInphoiBhyt(); item.IdBenhnhan = IdBenhnhan; item.MaLuotkham = MaLuotkham; item.IdPhieuDct = IdPhieuDct; item.HanhDong = HanhDong; item.NguoiTao = NguoiTao; item.NgayTao = NgayTao; item.NoiDung = NoiDung; item.Save(UserName); }
public void Update(long Id,long IdBenhnhan,string MaLuotkham,long IdPhieuDct,string HanhDong,int? NguoiTao,DateTime? NgayTao,string NoiDung) { KcbLichsuInphoiBhyt item = new KcbLichsuInphoiBhyt(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.IdBenhnhan = IdBenhnhan; item.MaLuotkham = MaLuotkham; item.IdPhieuDct = IdPhieuDct; item.HanhDong = HanhDong; item.NguoiTao = NguoiTao; item.NgayTao = NgayTao; item.NoiDung = NoiDung; item.Save(UserName); }