/// <summary> /// Deprecated Method for adding a new object to the TestRuns EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTestRuns(TestRun testRun) { base.AddObject("TestRuns", testRun); }
/// <summary> /// Create a new TestRun object. /// </summary> /// <param name="testRunID">Initial value of the TestRunID property.</param> /// <param name="platform">Initial value of the Platform property.</param> /// <param name="initiator">Initial value of the Initiator property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> public static TestRun CreateTestRun(global::System.Guid testRunID, global::System.String platform, global::System.String initiator, global::System.DateTime startDate) { TestRun testRun = new TestRun(); testRun.TestRunID = testRunID; testRun.Platform = platform; testRun.Initiator = initiator; testRun.StartDate = startDate; return testRun; }