Ejemplo n.º 1
0
 /// <summary>
 /// Create a new StockItem object.
 /// </summary>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="area">Initial value of the Area property.</param>
 public static StockItem CreateStockItem(global::System.String name, global::System.String code, global::System.String area)
 {
     StockItem stockItem = new StockItem();
     stockItem.Name = name;
     stockItem.Code = code;
     stockItem.Area = area;
     return stockItem;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StockItem EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStockItem(StockItem stockItem)
 {
     base.AddObject("StockItem", stockItem);
 }