/// <summary> /// Deprecated Method for adding a new object to the TestResults EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTestResults(TestResult testResult) { base.AddObject("TestResults", testResult); }
/// <summary> /// Create a new TestResult object. /// </summary> /// <param name="testCaseID">Initial value of the TestCaseID property.</param> /// <param name="testCaseVersionID">Initial value of the TestCaseVersionID property.</param> /// <param name="testRunID">Initial value of the TestRunID property.</param> /// <param name="runDateTime">Initial value of the RunDateTime property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="official">Initial value of the Official property.</param> /// <param name="totalErrors">Initial value of the TotalErrors property.</param> /// <param name="totalPixelDiffs">Initial value of the TotalPixelDiffs property.</param> public static TestResult CreateTestResult(global::System.Guid testCaseID, global::System.Int16 testCaseVersionID, global::System.Guid testRunID, global::System.DateTime runDateTime, global::System.String status, global::System.Boolean official, global::System.Int32 totalErrors, global::System.Int32 totalPixelDiffs) { TestResult testResult = new TestResult(); testResult.TestCaseID = testCaseID; testResult.TestCaseVersionID = testCaseVersionID; testResult.TestRunID = testRunID; testResult.RunDateTime = runDateTime; testResult.Status = status; testResult.Official = official; testResult.TotalErrors = totalErrors; testResult.TotalPixelDiffs = totalPixelDiffs; return testResult; }