/// <summary> /// Deprecated Method for adding a new object to the ProspectiveBuyers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProspectiveBuyers(ProspectiveBuyer prospectiveBuyer) { base.AddObject("ProspectiveBuyers", prospectiveBuyer); }
/// <summary> /// Create a new ProspectiveBuyer object. /// </summary> /// <param name="prospectiveBuyerKey">Initial value of the ProspectiveBuyerKey property.</param> public static ProspectiveBuyer CreateProspectiveBuyer(global::System.Int32 prospectiveBuyerKey) { ProspectiveBuyer prospectiveBuyer = new ProspectiveBuyer(); prospectiveBuyer.ProspectiveBuyerKey = prospectiveBuyerKey; return prospectiveBuyer; }