/// <summary> /// Create a new OrderDetail object. /// </summary> /// <param name="identifier">Initial value of the Identifier property.</param> /// <param name="order">Initial value of the Order property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> public static OrderDetail CreateOrderDetail(global::System.Int32 identifier, global::System.Int32 order, global::System.Decimal quantity) { OrderDetail orderDetail = new OrderDetail(); orderDetail.Identifier = identifier; orderDetail.Order = order; orderDetail.Quantity = quantity; return orderDetail; }
/// <summary> /// Deprecated Method for adding a new object to the OrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderDetails(OrderDetail orderDetail) { base.AddObject("OrderDetails", orderDetail); }