/// <summary>
 /// Create a new PM_ProjectResources object.
 /// </summary>
 /// <param name="projectResorcesId">Initial value of ProjectResorcesId.</param>
 /// <param name="allocatedStartDate">Initial value of AllocatedStartDate.</param>
 /// <param name="allocatedEndDate">Initial value of AllocatedEndDate.</param>
 public static PM_ProjectResources CreatePM_ProjectResources(int projectResorcesId, global::System.DateTime allocatedStartDate, global::System.DateTime allocatedEndDate)
 {
     PM_ProjectResources pM_ProjectResources = new PM_ProjectResources();
     pM_ProjectResources.ProjectResorcesId = projectResorcesId;
     pM_ProjectResources.AllocatedStartDate = allocatedStartDate;
     pM_ProjectResources.AllocatedEndDate = allocatedEndDate;
     return pM_ProjectResources;
 }
 /// <summary>
 /// There are no comments for PM_ProjectResources in the schema.
 /// </summary>
 public void AddToPM_ProjectResources(PM_ProjectResources pM_ProjectResources)
 {
     base.AddObject("PM_ProjectResources", pM_ProjectResources);
 }
 /// <summary>
 /// Create a new PM_ProjectResources object.
 /// </summary>
 /// <param name="projectResorcesId">Initial value of ProjectResorcesId.</param>
 /// <param name="userId">Initial value of UserId.</param>
 /// <param name="projectRoleId">Initial value of ProjectRoleId.</param>
 public static PM_ProjectResources CreatePM_ProjectResources(int projectResorcesId, int userId, int projectRoleId)
 {
     PM_ProjectResources pM_ProjectResources = new PM_ProjectResources();
     pM_ProjectResources.ProjectResorcesId = projectResorcesId;
     pM_ProjectResources.UserId = userId;
     pM_ProjectResources.ProjectRoleId = projectRoleId;
     return pM_ProjectResources;
 }