Exemple #1
0
 /// <summary>
 /// Create a new Peer object.
 /// </summary>
 /// <param name="empID">Initial value of the EmpID property.</param>
 /// <param name="peerID">Initial value of the PeerID property.</param>
 public static Peer CreatePeer(global::System.Int32 empID, global::System.Int32 peerID)
 {
     Peer peer = new Peer();
     peer.EmpID = empID;
     peer.PeerID = peerID;
     return peer;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Peers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPeers(Peer peer)
 {
     base.AddObject("Peers", peer);
 }