/// <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); }
/// <summary> /// Create a new Project object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static Project CreateProject(global::System.Int32 id, global::System.Boolean isActive, global::System.String name, global::System.DateTime createDate) { Project project = new Project(); project.ID = id; project.IsActive = isActive; project.Name = name; project.CreateDate = createDate; return project; }