private void detach_SanPhams(SanPham entity)
 {
     this.SendPropertyChanging();
     entity.LoaiSP = null;
 }
 private void attach_SanPhams(SanPham entity)
 {
     this.SendPropertyChanging();
     entity.LoaiSP = this;
 }
 partial void UpdateSanPham(SanPham instance);
 partial void DeleteSanPham(SanPham instance);
 partial void InsertSanPham(SanPham instance);