/// <summary> /// Deprecated Method for adding a new object to the ProductDocuments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductDocuments(ProductDocument productDocument) { base.AddObject("ProductDocuments", productDocument); }
/// <summary> /// Create a new ProductDocument object. /// </summary> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="documentID">Initial value of the DocumentID property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static ProductDocument CreateProductDocument(global::System.Int32 productID, global::System.Int32 documentID, global::System.DateTime modifiedDate) { ProductDocument productDocument = new ProductDocument(); productDocument.ProductID = productID; productDocument.DocumentID = documentID; productDocument.ModifiedDate = modifiedDate; return productDocument; }