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