Example #1
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);
 }
Example #2
0
 /// <summary>
 /// Create a new Project object.
 /// </summary>
 /// <param name="projectID">Initial value of the ProjectID property.</param>
 /// <param name="cOGID">Initial value of the COGID property.</param>
 public static Project CreateProject(global::System.Int32 projectID, global::System.String cOGID)
 {
     Project project = new Project();
     project.ProjectID = projectID;
     project.COGID = cOGID;
     return project;
 }