/// <summary>
 /// Deprecated Method for adding a new object to the OrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderDetails(OrderDetail orderDetail)
 {
     base.AddObject("OrderDetails", orderDetail);
 }
 /// <summary>
 /// Create a new OrderDetail object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="orderDetail_Order">Initial value of the OrderDetail_Order property.</param>
 /// <param name="orderDetail_Product">Initial value of the OrderDetail_Product property.</param>
 /// <param name="unitsOrdered">Initial value of the UnitsOrdered property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static OrderDetail CreateOrderDetail(global::System.Int32 id, global::System.Int32 orderDetail_Order, global::System.Int32 orderDetail_Product, global::System.Int32 unitsOrdered, global::System.Byte[] rowVersion)
 {
     OrderDetail orderDetail = new OrderDetail();
     orderDetail.Id = id;
     orderDetail.OrderDetail_Order = orderDetail_Order;
     orderDetail.OrderDetail_Product = orderDetail_Product;
     orderDetail.UnitsOrdered = unitsOrdered;
     orderDetail.RowVersion = rowVersion;
     return orderDetail;
 }