Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Projects EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjects(Project project)
 {
     base.AddObject("Projects", project);
 }