/// <summary> /// Create a new Business object. /// </summary> /// <param name="businessID">Initial value of the BusinessID property.</param> /// <param name="businessName">Initial value of the BusinessName property.</param> /// <param name="businessDescription">Initial value of the BusinessDescription property.</param> public static Business CreateBusiness(global::System.Int32 businessID, global::System.String businessName, global::System.String businessDescription) { Business business = new Business(); business.BusinessID = businessID; business.BusinessName = businessName; business.BusinessDescription = businessDescription; return business; }
/// <summary> /// Deprecated Method for adding a new object to the Businesses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinesses(Business business) { base.AddObject("Businesses", business); }