Beispiel #1
0
 // Stock Exchange
 public static data.baseDS.stockExchangeRow AddStockExchange(data.baseDS.stockExchangeDataTable tbl, string code)
 {
     data.baseDS.stockExchangeRow stockExchangeRow = application.SysLibs.FindAndCache_StockExchange(code);
     if (stockExchangeRow == null)
     {
         stockExchangeRow = tbl.NewstockExchangeRow();
         commonClass.AppLibs.InitData(stockExchangeRow);
         stockExchangeRow.code = code;
         tbl.AddstockExchangeRow(stockExchangeRow);
         application.DbAccess.UpdateData(stockExchangeRow);
         common.fileFuncs.WriteLog(" - Add stockExchange" + common.Consts.constTab + code);
     }
     return stockExchangeRow;
 }