/// <summary> /// Create a new Project object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="created">Initial value of the Created property.</param> public static Project CreateProject(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String name, global::System.DateTime created) { Project project = new Project(); project.Id = id; project.RowVersion = rowVersion; project.Name = name; project.Created = created; 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); }