/// <summary> /// Deprecated Method for adding a new object to the TestBranches EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTestBranches(TestBranch testBranch) { base.AddObject("TestBranches", testBranch); }
/// <summary> /// Create a new TestBranch object. /// </summary> /// <param name="testBranchID">Initial value of the TestBranchID property.</param> /// <param name="perforcePath">Initial value of the PerforcePath property.</param> /// <param name="buildLabelMajor">Initial value of the BuildLabelMajor property.</param> /// <param name="lock">Initial value of the Lock property.</param> public static TestBranch CreateTestBranch(global::System.String testBranchID, global::System.String perforcePath, global::System.Int32 buildLabelMajor, global::System.Boolean @lock) { TestBranch testBranch = new TestBranch(); testBranch.TestBranchID = testBranchID; testBranch.PerforcePath = perforcePath; testBranch.BuildLabelMajor = buildLabelMajor; testBranch.Lock = @lock; return testBranch; }