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