public void themTuDienCuaBan(string tu, string loai, string phienam, string nghia, string tk) { if (ktTDCuaBan(tk, tu) == false) { TuDienKhachHang td = new TuDienKhachHang(); td.Tu = tu; td.LoaiTu = loai; td.PhienAm = phienam; td.Nghia = nghia; td.TaiKhoan = tk; qltd.TuDienKhachHangs.InsertOnSubmit(td); qltd.SubmitChanges(); MessageBox.Show("Thêm từ thành công"); } }
private void detach_TuDienKhachHangs(TuDienKhachHang entity) { this.SendPropertyChanging(); entity.LOAITU1 = null; }
partial void DeleteTuDienKhachHang(TuDienKhachHang instance);
partial void UpdateTuDienKhachHang(TuDienKhachHang instance);
private void detach_TuDienKhachHangs(TuDienKhachHang entity) { this.SendPropertyChanging(); entity.KHACHHANG = null; }
partial void InsertTuDienKhachHang(TuDienKhachHang instance);