Ejemplo n.º 1
0
 /*public int UpdateField(int who, ArrayList list, string field, int value)
  * {
  *  try
  *  {
  *      return baseFacade.UpdateField(list, field, value);
  *  }
  *  catch(Exception ex)
  *  {
  *      throw new BOException("Can not update to database" + ex.Message);
  *  }
  * }*/
 public virtual void Update(BaseModel model, string field)
 {
     try
     {
         baseFacade.Update(model, field);
     }
     catch (FacadeException ex)
     {
         throw new BOException("Can not update to database" + ex.Message);
     }
 }