/// <summary> /// Deprecated Method for adding a new object to the GanttDependencies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGanttDependencies(GanttDependency ganttDependency) { base.AddObject("GanttDependencies", ganttDependency); }
/// <summary> /// Create a new GanttDependency object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="predecessorID">Initial value of the PredecessorID property.</param> /// <param name="successorID">Initial value of the SuccessorID property.</param> /// <param name="type">Initial value of the Type property.</param> public static GanttDependency CreateGanttDependency(global::System.Int32 id, global::System.Int32 predecessorID, global::System.Int32 successorID, global::System.Int32 type) { GanttDependency ganttDependency = new GanttDependency(); ganttDependency.ID = id; ganttDependency.PredecessorID = predecessorID; ganttDependency.SuccessorID = successorID; ganttDependency.Type = type; return ganttDependency; }