/// <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="orderDetailId">Initial value of the OrderDetailId property.</param>
 /// <param name="orderId">Initial value of the OrderId property.</param>
 /// <param name="albumId">Initial value of the AlbumId property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 public static OrderDetail CreateOrderDetail(global::System.Int32 orderDetailId, global::System.Int32 orderId, global::System.Int32 albumId, global::System.Int32 quantity, global::System.Decimal unitPrice)
 {
     OrderDetail orderDetail = new OrderDetail();
     orderDetail.OrderDetailId = orderDetailId;
     orderDetail.OrderId = orderId;
     orderDetail.AlbumId = albumId;
     orderDetail.Quantity = quantity;
     orderDetail.UnitPrice = unitPrice;
     return orderDetail;
 }