public DataTable laydsbh(BHYTdto p) { int thamso = 1; string[] name = new string[thamso]; object[] values = new object[thamso]; name[0] = "@mabn"; values[0] = p.Mabn; return ketnoi.laydulieu("LayBHtheomaBN", name, values, thamso); }
public DataTable themBHYT(BHYTdto p) { int thamso = 5; string[] name = new string[thamso]; object[] values = new object[thamso]; name[0] = "@sothe"; name[1] = "@ngaybd"; name[2] = "@ngaykt"; name[3] = "@phantram"; name[4] = "@mabn"; values[0] = p.Sothebh; values[1] = p.Ngaybd; values[2] = p.Ngaykt; values[3] = p.Phantram; values[4] = p.Mabn; return ketnoi.laydulieu("insert_bhyt", name, values, thamso); }
public int suaBHYT(BHYTdto p) { int thamso = 5; string[] name = new string[thamso]; object[] values = new object[thamso]; name[0] = "@sothebhyt"; name[1] = "@mabn"; name[2] = "@ngaybd"; name[3] = "@ngaykt"; name[4] = "@phantram"; values[0] = p.Sothebh; values[1] = p.Mabn; values[2] = p.Ngaybd; values[3] = p.Ngaykt; values[4] = p.Phantram; return ketnoi.update("suaBHYT", name, values, thamso); }
public DataTable thembhyt(BHYTdto p) { return bhyt.themBHYT(p); }
public int suabhyt(BHYTdto p) { return bhyt.suaBHYT(p); }
public DataTable laydsbh(BHYTdto p) { return bhyt.laydsbh(p); }