public bool UpdateWhereExtendido(string WhereEx, EncuestaAlimentariaEntityUpdate EntityUpdate) { try { return(this.CreateDataAccess().UpdateWhereExtendido(WhereEx, EntityUpdate)); } catch (Exception ex) { Helpers.Logger.Logger.LogExceptionStatic(ex); throw ex; } }
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; } }
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; } }