/// <summary> /// Deprecated Method for adding a new object to the Builds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBuilds(Build build) { base.AddObject("Builds", build); }
/// <summary> /// Create a new Build object. /// </summary> /// <param name="buildID">Initial value of the BuildID property.</param> /// <param name="testBranch">Initial value of the TestBranch property.</param> /// <param name="testLabelTime">Initial value of the TestLabelTime property.</param> /// <param name="buildLabelMajor">Initial value of the BuildLabelMajor property.</param> /// <param name="buildLabelMinor">Initial value of the BuildLabelMinor property.</param> /// <param name="buildLabelBuild">Initial value of the BuildLabelBuild property.</param> /// <param name="buildLabelRevision">Initial value of the BuildLabelRevision property.</param> public static Build CreateBuild(global::System.String buildID, global::System.String testBranch, global::System.DateTime testLabelTime, global::System.Int32 buildLabelMajor, global::System.Int32 buildLabelMinor, global::System.Int32 buildLabelBuild, global::System.Int32 buildLabelRevision) { Build build = new Build(); build.BuildID = buildID; build.TestBranch = testBranch; build.TestLabelTime = testLabelTime; build.BuildLabelMajor = buildLabelMajor; build.BuildLabelMinor = buildLabelMinor; build.BuildLabelBuild = buildLabelBuild; build.BuildLabelRevision = buildLabelRevision; return build; }