示例#1
0
        /// <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);
        }
示例#2
0
 /// <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;
 }
示例#3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Stock EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStock(StockClass stockClass)
 {
     base.AddObject("Stock", stockClass);
 }
示例#4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Stock EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStock(StockClass stockClass)
 {
     base.AddObject("Stock", stockClass);
 }