/// <summary> /// Create a new OrderLine object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> public static OrderLine CreateOrderLine(global::System.Int32 id, global::System.String quantity) { OrderLine orderLine = new OrderLine(); orderLine.Id = id; orderLine.Quantity = quantity; return orderLine; }
/// <summary> /// Deprecated Method for adding a new object to the OrderLines EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderLines(OrderLine orderLine) { base.AddObject("OrderLines", orderLine); }