Пример #1
0
 /// <summary>
 /// Create a new Project object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="shortCode">Initial value of the ShortCode property.</param>
 public static Project CreateProject(global::System.Guid id, global::System.String name, global::System.String shortCode)
 {
     Project project = new Project();
     project.Id = id;
     project.Name = name;
     project.ShortCode = shortCode;
     return project;
 }
Пример #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);
 }