/// <summary> /// Deprecated Method for adding a new object to the CopyItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCopyItems(CopyItem copyItem) { base.AddObject("CopyItems", copyItem); }
/// <summary> /// Create a new CopyItem object. /// </summary> /// <param name="copyItemID">Initial value of the CopyItemID property.</param> /// <param name="testCaseID">Initial value of the TestCaseID property.</param> /// <param name="testCaseVersionID">Initial value of the TestCaseVersionID property.</param> /// <param name="copyOrder">Initial value of the CopyOrder property.</param> /// <param name="copySource">Initial value of the CopySource property.</param> public static CopyItem CreateCopyItem(global::System.Guid copyItemID, global::System.Guid testCaseID, global::System.Int16 testCaseVersionID, global::System.Byte copyOrder, global::System.String copySource) { CopyItem copyItem = new CopyItem(); copyItem.CopyItemID = copyItemID; copyItem.TestCaseID = testCaseID; copyItem.TestCaseVersionID = testCaseVersionID; copyItem.CopyOrder = copyOrder; copyItem.CopySource = copySource; return copyItem; }