/// <summary> /// Deprecated Method for adding a new object to the JobResults EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToJobResults(JobResult jobResult) { base.AddObject("JobResults", jobResult); }
/// <summary> /// Create a new JobResult object. /// </summary> /// <param name="jobID">Initial value of the JobID property.</param> /// <param name="testCaseID">Initial value of the TestCaseID property.</param> /// <param name="testCaseVersionID">Initial value of the TestCaseVersionID property.</param> /// <param name="jobSubStatus">Initial value of the JobSubStatus property.</param> public static JobResult CreateJobResult(global::System.String jobID, global::System.Guid testCaseID, global::System.Int16 testCaseVersionID, global::System.String jobSubStatus) { JobResult jobResult = new JobResult(); jobResult.JobID = jobID; jobResult.TestCaseID = testCaseID; jobResult.TestCaseVersionID = testCaseVersionID; jobResult.JobSubStatus = jobSubStatus; return jobResult; }