/// <summary> /// Deprecated Method for adding a new object to the RiskAssessmentStatuses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRiskAssessmentStatuses(RiskAssessmentStatus riskAssessmentStatus) { base.AddObject("RiskAssessmentStatuses", riskAssessmentStatus); }
/// <summary> /// Create a new RiskAssessmentStatus object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static RiskAssessmentStatus CreateRiskAssessmentStatus(global::System.Int32 id, global::System.String status, global::System.Byte[] rowVersion) { RiskAssessmentStatus riskAssessmentStatus = new RiskAssessmentStatus(); riskAssessmentStatus.Id = id; riskAssessmentStatus.Status = status; riskAssessmentStatus.RowVersion = rowVersion; return riskAssessmentStatus; }