/// <summary> /// Deprecated Method for adding a new object to the Prospects EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProspects(Prospect prospect) { base.AddObject("Prospects", prospect); }
/// <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; }