Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Prospects EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProspects(Prospect prospect)
 {
     base.AddObject("Prospects", prospect);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Prospect object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="profile">Initial value of the Profile property.</param>
 public static Prospect CreateProspect(global::System.Int64 id, global::System.String profile)
 {
     Prospect prospect = new Prospect();
     prospect.Id = id;
     prospect.Profile = profile;
     return prospect;
 }