コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Leads EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLeads(Lead lead)
 {
     base.AddObject("Leads", lead);
 }
コード例 #2
0
 /// <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;
 }