public static void Updatestock_SymbolPermLong(stock_SymbolPermLong stock_SymbolPermLong) { try { stock_SymbolPermLongDAO stock_SymbolPermLongDAO = new stock_SymbolPermLongDAO(); stock_SymbolPermLongDAO.Updatestock_SymbolPermLong(stock_SymbolPermLong); } catch (ApplicationException) { throw; } catch (Exception ex) { // log this exception log4net.Util.LogLog.Error(ex.Message, ex); // wrap it and rethrow throw new ApplicationException(SR.BusinessUpdatestock_SymbolPermLongException, ex); } }
public static stock_SymbolPermLong Getstock_SymbolPermLong(int symbolID, DateTime permDate) { try { stock_SymbolPermLongDAO stock_SymbolPermLongDAO = new stock_SymbolPermLongDAO(); return stock_SymbolPermLongDAO.Getstock_SymbolPermLong(symbolID, permDate); } catch (ApplicationException) { throw; } catch (Exception ex) { // log this exception log4net.Util.LogLog.Error(ex.Message, ex); // wrap it and rethrow throw new ApplicationException(SR.BusinessGetstock_SymbolPermLongException, ex); } }
public static stock_SymbolPermLongCollection Getstock_SymbolPermLongList(stock_SymbolPermLongColumns orderBy, string orderDirection) { try { stock_SymbolPermLongDAO stock_SymbolPermLongDAO = new stock_SymbolPermLongDAO(); return stock_SymbolPermLongDAO.Getstock_SymbolPermLongList(orderBy, orderDirection); } catch (ApplicationException) { throw; } catch (Exception ex) { // log this exception log4net.Util.LogLog.Error(ex.Message, ex); // wrap it and rethrow throw new ApplicationException(SR.BusinessGetstock_SymbolPermLongListException, ex); } }
public static stock_SymbolPermLongExtensionCollection Export_SymbolPermLongList(DateTime permDate,string market) { try { stock_SymbolPermLongDAO stock_symbolPermLongDAO = new stock_SymbolPermLongDAO(); return stock_symbolPermLongDAO.Export_SymbolPermLongList(permDate, market); } catch (ApplicationException) { throw; } catch (Exception ex) { // log this exception log4net.Util.LogLog.Error(ex.Message, ex); // wrap it and rethrow throw new ApplicationException(SR.BusinessGetstock_SymbolPermLongListException, ex); } }