/// <summary> /// Create a new Project object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="code">Initial value of the code property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="remarks">Initial value of the remarks property.</param> /// <param name="budget">Initial value of the budget property.</param> public static Project CreateProject(global::System.Int32 id, global::System.String code, global::System.String name, global::System.String remarks, global::System.Decimal budget) { Project project = new Project(); project.id = id; project.code = code; project.name = name; project.remarks = remarks; project.budget = budget; return project; }
/// <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); }