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