/// <summary> /// Deprecated Method for adding a new object to the Networks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNetworks(Network network) { base.AddObject("Networks", network); }
/// <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; }