Esempio n. 1
0
 public bool UpdateWhereExtendido(string WhereEx, AlimentoEntityUpdate EntityUpdate)
 {
     try
     {
         return(this.CreateDataAccess().UpdateWhereExtendido(WhereEx, EntityUpdate));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }
Esempio n. 2
0
 public bool UpdateFromInfo(AlimentoEntityKey EntityKey, AlimentoEntityInfo EntityInfo)
 {
     try
     {
         AlimentoEntityUpdate EntityUpdate = new AlimentoEntityUpdate();
         EntityUpdate.LoadFromInfo(EntityInfo);
         return(this.Update(EntityKey, EntityUpdate));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }
Esempio n. 3
0
 public bool Update(AlimentoEntityKey EntityKey, AlimentoEntityUpdate EntityUpdate)
 {
     try
     {
         if (!EntityKey.Validate())
         {
             return(false);
         }
         return(this.CreateDataAccess().Update(EntityKey, EntityUpdate));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }