/// <summary> /// Deprecated Method for adding a new object to the Dependencies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDependencies(Dependency dependency) { base.AddObject("Dependencies", dependency); }
/// <summary> /// Create a new Dependency object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="dependentItem">Initial value of the DependentItem property.</param> /// <param name="dependencyItem">Initial value of the DependencyItem property.</param> public static Dependency CreateDependency(global::System.Int32 id, global::System.Int32 dependentItem, global::System.Int32 dependencyItem) { Dependency dependency = new Dependency(); dependency.Id = id; dependency.DependentItem = dependentItem; dependency.DependencyItem = dependencyItem; return dependency; }