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