/// <summary> /// Create a new Project object. /// </summary> /// <param name="pname">Initial value of the Pname property.</param> /// <param name="pnumber">Initial value of the Pnumber property.</param> /// <param name="dnum">Initial value of the Dnum property.</param> public static Project CreateProject(global::System.String pname, global::System.Int32 pnumber, global::System.Int32 dnum) { Project project = new Project(); project.Pname = pname; project.Pnumber = pnumber; project.Dnum = dnum; 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); }