public void Insert(int IdDichvuChitiet, string MaMauKQ, byte MacDinh) { QheDichvuMauketqua item = new QheDichvuMauketqua(); item.IdDichvuChitiet = IdDichvuChitiet; item.MaMauKQ = MaMauKQ; item.MacDinh = MacDinh; item.Save(UserName); }
public void Update(int IdDichvuChitiet, string MaMauKQ, byte MacDinh) { QheDichvuMauketqua item = new QheDichvuMauketqua(); item.MarkOld(); item.IsLoaded = true; item.IdDichvuChitiet = IdDichvuChitiet; item.MaMauKQ = MaMauKQ; item.MacDinh = MacDinh; item.Save(UserName); }
public bool Destroy(object IdDichvuChitiet) { return(QheDichvuMauketqua.Destroy(IdDichvuChitiet) == 1); }