/// <summary>
 /// Deprecated Method for adding a new object to the OrderDetailSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderDetailSet(OrderDetail orderDetail)
 {
     base.AddObject("OrderDetailSet", orderDetail);
 }
 /// <summary>
 /// Create a new OrderDetail object.
 /// </summary>
 /// <param name="orderDetailId">Initial value of the OrderDetailId property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 /// <param name="quantityInUnits">Initial value of the QuantityInUnits property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static OrderDetail CreateOrderDetail(global::System.Int32 orderDetailId, global::System.Decimal unitPrice, global::System.Int32 quantityInUnits, global::System.Byte[] version)
 {
     OrderDetail orderDetail = new OrderDetail();
     orderDetail.OrderDetailId = orderDetailId;
     orderDetail.UnitPrice = unitPrice;
     orderDetail.QuantityInUnits = quantityInUnits;
     orderDetail.Version = version;
     return orderDetail;
 }