/// <summary> /// Create a new OrderDetail object. /// </summary> /// <param name="buyId">Initial value of the BuyId property.</param> public static OrderDetail CreateOrderDetail(global::System.Int32 buyId) { OrderDetail orderDetail = new OrderDetail(); orderDetail.BuyId = buyId; 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); }