/// <summary> /// Create a new BudgetRequest object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="customerId">Initial value of the CustomerId property.</param> /// <param name="projectName">Initial value of the ProjectName property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> /// <param name="dateModified">Initial value of the DateModified property.</param> /// <param name="employeeId">Initial value of the EmployeeId property.</param> /// <param name="customerContactId">Initial value of the CustomerContactId property.</param> /// <param name="personPhoneId">Initial value of the PersonPhoneId property.</param> /// <param name="familyId">Initial value of the FamilyId property.</param> public static BudgetRequest CreateBudgetRequest(global::System.Int32 id, global::System.Int32 customerId, global::System.String projectName, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.Int32 employeeId, global::System.Int32 customerContactId, global::System.Int32 personPhoneId, global::System.Int32 familyId) { BudgetRequest budgetRequest = new BudgetRequest(); budgetRequest.Id = id; budgetRequest.CustomerId = customerId; budgetRequest.ProjectName = projectName; budgetRequest.DateCreated = dateCreated; budgetRequest.DateModified = dateModified; budgetRequest.EmployeeId = employeeId; budgetRequest.CustomerContactId = customerContactId; budgetRequest.PersonPhoneId = personPhoneId; budgetRequest.FamilyId = familyId; return budgetRequest; }
/// <summary> /// Deprecated Method for adding a new object to the BudgetRequests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBudgetRequests(BudgetRequest budgetRequest) { base.AddObject("BudgetRequests", budgetRequest); }