Example #1
0
 public bool UpdateWhereExtendido(string WhereEx, EncuestaAlimentariaEntityUpdate EntityUpdate)
 {
     try
     {
         return(this.CreateDataAccess().UpdateWhereExtendido(WhereEx, EntityUpdate));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }
Example #2
0
 public bool UpdateFromInfo(EncuestaAlimentariaEntityKey EntityKey, EncuestaAlimentariaEntityInfo EntityInfo)
 {
     try
     {
         EncuestaAlimentariaEntityUpdate EntityUpdate = new EncuestaAlimentariaEntityUpdate();
         EntityUpdate.LoadFromInfo(EntityInfo);
         return(this.Update(EntityKey, EntityUpdate));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }
Example #3
0
 public bool Update(EncuestaAlimentariaEntityKey EntityKey, EncuestaAlimentariaEntityUpdate EntityUpdate)
 {
     try
     {
         if (!EntityKey.Validate())
         {
             return(false);
         }
         return(this.CreateDataAccess().Update(EntityKey, EntityUpdate));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }