Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Network EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNetwork(Network network)
 {
     base.AddObject("Network", network);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Network object.
 /// </summary>
 /// <param name="networkID">Initial value of the NetworkID property.</param>
 public static Network CreateNetwork(global::System.Int32 networkID)
 {
     Network network = new Network();
     network.NetworkID = networkID;
     return network;
 }