/// <summary> /// Create a new StockClass object. /// </summary> /// <param name="stockId">Initial value of the StockId property.</param> /// <param name="stockCode">Initial value of the StockCode property.</param> /// <param name="exchangeId">Initial value of the ExchangeId property.</param> /// <param name="stockName">Initial value of the StockName property.</param> public static StockClass CreateStockClass(global::System.Int32 stockId, global::System.String stockCode, global::System.Int32 exchangeId, global::System.String stockName) { StockClass stockClass = new StockClass(); stockClass.StockId = stockId; stockClass.StockCode = stockCode; stockClass.ExchangeId = exchangeId; stockClass.StockName = stockName; return(stockClass); }
/// <summary> /// Create a new StockClass object. /// </summary> /// <param name="stockId">Initial value of the StockId property.</param> /// <param name="stockCode">Initial value of the StockCode property.</param> /// <param name="exchangeId">Initial value of the ExchangeId property.</param> /// <param name="stockName">Initial value of the StockName property.</param> public static StockClass CreateStockClass(global::System.Int32 stockId, global::System.String stockCode, global::System.Int32 exchangeId, global::System.String stockName) { StockClass stockClass = new StockClass(); stockClass.StockId = stockId; stockClass.StockCode = stockCode; stockClass.ExchangeId = exchangeId; stockClass.StockName = stockName; return stockClass; }
/// <summary> /// Deprecated Method for adding a new object to the Stock EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStock(StockClass stockClass) { base.AddObject("Stock", stockClass); }