/// <summary> /// Deprecated Method for adding a new object to the Defects EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDefects(Defect defect) { base.AddObject("Defects", defect); }
/// <summary> /// Create a new Defect object. /// </summary> /// <param name="bugTrackingSysID">Initial value of the BugTrackingSysID property.</param> /// <param name="trackingRefID">Initial value of the TrackingRefID property.</param> public static Defect CreateDefect(global::System.String bugTrackingSysID, global::System.String trackingRefID) { Defect defect = new Defect(); defect.BugTrackingSysID = bugTrackingSysID; defect.TrackingRefID = trackingRefID; return defect; }