public static void DeleteFavorite(Favorite fav) { PartDAO.PendingDeleteFavorite(fav); PartDC.SubmitChanges(); }
private void detach_Favorites(Favorite entity) { this.SendPropertyChanging(); entity.Dealer = null; }
public static void PendingDeleteFavorite(Favorite fav) { if (fav != null) { PartDC.Favorites.DeleteOnSubmit(fav); } }
private void attach_Favorites(Favorite entity) { this.SendPropertyChanging(); entity.Dealer = this; }