/// <summary> /// Create a new Deal object. /// </summary> /// <param name="dealID">Initial value of the DealID property.</param> /// <param name="businessID">Initial value of the BusinessID property.</param> /// <param name="dealDescription">Initial value of the DealDescription property.</param> public static Deal CreateDeal(global::System.Int32 dealID, global::System.Int32 businessID, global::System.String dealDescription) { Deal deal = new Deal(); deal.DealID = dealID; deal.BusinessID = businessID; deal.DealDescription = dealDescription; return deal; }
/// <summary> /// Deprecated Method for adding a new object to the Deals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDeals(Deal deal) { base.AddObject("Deals", deal); }