/// <summary>
 /// Create a new DocumentDetail object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="documentId">Initial value of the DocumentId property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="qty">Initial value of the Qty property.</param>
 public static DocumentDetail CreateDocumentDetail(global::System.Int32 id, global::System.Int32 documentId, global::System.Int32 productId, global::System.Decimal price, global::System.Decimal qty)
 {
     DocumentDetail documentDetail = new DocumentDetail();
     documentDetail.Id = id;
     documentDetail.DocumentId = documentId;
     documentDetail.ProductId = productId;
     documentDetail.Price = price;
     documentDetail.Qty = qty;
     return documentDetail;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DocumentDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDocumentDetails(DocumentDetail documentDetail)
 {
     base.AddObject("DocumentDetails", documentDetail);
 }