/// <summary> /// Deprecated Method for adding a new object to the TestCases EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTestCases(TestCase testCase) { base.AddObject("TestCases", testCase); }
/// <summary> /// Create a new TestCase object. /// </summary> /// <param name="testCaseID">Initial value of the TestCaseID property.</param> /// <param name="testCaseVersionID">Initial value of the TestCaseVersionID property.</param> /// <param name="createTimeStamp">Initial value of the CreateTimeStamp property.</param> /// <param name="validToTimeStamp">Initial value of the ValidToTimeStamp property.</param> /// <param name="fullTestFilePath">Initial value of the FullTestFilePath property.</param> /// <param name="testCaseName">Initial value of the TestCaseName property.</param> /// <param name="lastEditBy">Initial value of the LastEditBy property.</param> /// <param name="testCaseType">Initial value of the TestCaseType property.</param> /// <param name="selfValidating">Initial value of the SelfValidating property.</param> /// <param name="testCreator">Initial value of the TestCreator property.</param> /// <param name="enabled">Initial value of the Enabled property.</param> /// <param name="official">Initial value of the Official property.</param> public static TestCase CreateTestCase(global::System.Guid testCaseID, global::System.Int16 testCaseVersionID, global::System.DateTime createTimeStamp, global::System.DateTime validToTimeStamp, global::System.String fullTestFilePath, global::System.String testCaseName, global::System.String lastEditBy, global::System.String testCaseType, global::System.Boolean selfValidating, global::System.String testCreator, global::System.Boolean enabled, global::System.Boolean official) { TestCase testCase = new TestCase(); testCase.TestCaseID = testCaseID; testCase.TestCaseVersionID = testCaseVersionID; testCase.CreateTimeStamp = createTimeStamp; testCase.ValidToTimeStamp = validToTimeStamp; testCase.FullTestFilePath = fullTestFilePath; testCase.TestCaseName = testCaseName; testCase.LastEditBy = lastEditBy; testCase.TestCaseType = testCaseType; testCase.SelfValidating = selfValidating; testCase.TestCreator = testCreator; testCase.Enabled = enabled; testCase.Official = official; return testCase; }