/// <summary> /// Deprecated Method for adding a new object to the Projects EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProjects(Project project) { base.AddObject("Projects", project); }
/// <summary> /// Create a new Project object. /// </summary> /// <param name="projectID">Initial value of the ProjectID property.</param> /// <param name="project1">Initial value of the Project1 property.</param> /// <param name="clientID">Initial value of the ClientID property.</param> /// <param name="acctMngrID">Initial value of the AcctMngrID property.</param> /// <param name="budget">Initial value of the Budget property.</param> /// <param name="fixed">Initial value of the Fixed property.</param> /// <param name="prebilled">Initial value of the Prebilled property.</param> /// <param name="taxableState">Initial value of the TaxableState property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static Project CreateProject(global::System.Int32 projectID, global::System.String project1, global::System.Int32 clientID, global::System.Int32 acctMngrID, global::System.Decimal budget, global::System.Boolean @fixed, global::System.Boolean prebilled, global::System.String taxableState, global::System.DateTime createdDate, global::System.String createdBy) { Project project = new Project(); project.ProjectID = projectID; project.Project1 = project1; project.ClientID = clientID; project.AcctMngrID = acctMngrID; project.Budget = budget; project.Fixed = @fixed; project.Prebilled = prebilled; project.TaxableState = taxableState; project.CreatedDate = createdDate; project.CreatedBy = createdBy; return project; }