/// <summary> /// Deprecated Method for adding a new object to the Leads EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeads(Lead lead) { base.AddObject("Leads", lead); }
/// <summary> /// Create a new Lead object. /// </summary> /// <param name="leadId">Initial value of the LeadId property.</param> public static Lead CreateLead(global::System.Int32 leadId) { Lead lead = new Lead(); lead.LeadId = leadId; return lead; }