public void InsertBanBe(string taikhoan, string taikhoanban) { hoctuvungLINQDataContext db = new hoctuvungLINQDataContext(); Banbe ban = new Banbe(); ban.taikhoan = taikhoan; ban.taikhoanban = taikhoanban; db.Banbes.InsertOnSubmit(ban); db.SubmitChanges(); }
partial void DeleteBanbe(Banbe instance);
partial void UpdateBanbe(Banbe instance);
partial void InsertBanbe(Banbe instance);
private void detach_Banbes1(Banbe entity) { this.SendPropertyChanging(); entity.NguoiDung1 = null; }
private void attach_Banbes(Banbe entity) { this.SendPropertyChanging(); entity.NguoiDung = this; }