/// <summary>
 /// Deprecated Method for adding a new object to the InvDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvDetails(InvDetail invDetail)
 {
     base.AddObject("InvDetails", invDetail);
 }
 /// <summary>
 /// Create a new InvDetail object.
 /// </summary>
 /// <param name="invDetailID">Initial value of the InvDetailID property.</param>
 /// <param name="invNumber">Initial value of the InvNumber property.</param>
 /// <param name="detailDescr">Initial value of the DetailDescr property.</param>
 /// <param name="quantitiy">Initial value of the Quantitiy property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 public static InvDetail CreateInvDetail(global::System.Int32 invDetailID, global::System.String invNumber, global::System.String detailDescr, global::System.Int32 quantitiy, global::System.Decimal unitPrice)
 {
     InvDetail invDetail = new InvDetail();
     invDetail.InvDetailID = invDetailID;
     invDetail.InvNumber = invNumber;
     invDetail.DetailDescr = detailDescr;
     invDetail.Quantitiy = quantitiy;
     invDetail.UnitPrice = unitPrice;
     return invDetail;
 }