public void Delete(GoodyPriceList entity)
 {
     try
     {
         this.Delete(new List <Data.GoodyPriceList>()
         {
             entity
         });
     }
     catch
     {
         throw;
     }
 }
 public void Insert(GoodyPriceList entity)
 {
     try
     {
         if (entity.Id == Guid.Empty)
         {
             entity.Id = Guid.NewGuid();
         }
         this.Table.Add(entity);
         this.SubmitChanges();
     }
     catch
     {
         throw;
     }
 }
 public void Save(GoodyPriceList goodyPriceList)
 {
     try
     {
         if (goodyPriceList.Id == Guid.Empty)
         {
             goodyPriceList.Id = Guid.NewGuid();
             this.Insert(goodyPriceList);
         }
         else
         {
             this.SubmitChanges();
         }
     }
     catch
     {
         throw;
     }
 }