/// <summary> /// Create a new ProjectMaster object. /// </summary> /// <param name="projectID">Initial value of the ProjectID property.</param> /// <param name="projectName">Initial value of the ProjectName property.</param> /// <param name="projectCode">Initial value of the ProjectCode property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static ProjectMaster CreateProjectMaster(global::System.Int64 projectID, global::System.String projectName, global::System.String projectCode, global::System.Boolean isActive) { ProjectMaster projectMaster = new ProjectMaster(); projectMaster.ProjectID = projectID; projectMaster.ProjectName = projectName; projectMaster.ProjectCode = projectCode; projectMaster.IsActive = isActive; return(projectMaster); }
/// <summary> /// Deprecated Method for adding a new object to the ProjectMasters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProjectMasters(ProjectMaster projectMaster) { base.AddObject("ProjectMasters", projectMaster); }