/// <summary> /// Create a new ProjectRisk object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="riskTitle">Initial value of the RiskTitle property.</param> /// <param name="projectRisk_Project">Initial value of the ProjectRisk_Project property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static ProjectRisk CreateProjectRisk(global::System.Int32 id, global::System.String riskTitle, global::System.Int32 projectRisk_Project, global::System.Byte[] rowVersion) { ProjectRisk projectRisk = new ProjectRisk(); projectRisk.Id = id; projectRisk.RiskTitle = riskTitle; projectRisk.ProjectRisk_Project = projectRisk_Project; projectRisk.RowVersion = rowVersion; return projectRisk; }
/// <summary> /// Deprecated Method for adding a new object to the ProjectRisks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProjectRisks(ProjectRisk projectRisk) { base.AddObject("ProjectRisks", projectRisk); }