/// <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="templateId">Initial value of the TemplateId property.</param> public static Project CreateProject(global::System.Int32 id, global::System.String name, global::System.Int32 templateId) { Project project = new Project(); project.Id = id; project.Name = name; project.TemplateId = templateId; 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); }