コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Dependencies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDependencies(Dependency dependency)
 {
     base.AddObject("Dependencies", dependency);
 }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Dependencies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDependencies(Dependency dependency)
 {
     base.AddObject("Dependencies", dependency);
 }