/// <summary> /// Create a new LeadsDocument object. /// </summary> /// <param name="leadDocumentId">Initial value of the LeadDocumentId property.</param> public static LeadsDocument CreateLeadsDocument(global::System.Int32 leadDocumentId) { LeadsDocument leadsDocument = new LeadsDocument(); leadsDocument.LeadDocumentId = leadDocumentId; return leadsDocument; }
/// <summary> /// Deprecated Method for adding a new object to the LeadsDocuments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeadsDocuments(LeadsDocument leadsDocument) { base.AddObject("LeadsDocuments", leadsDocument); }