Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Node object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="label">Initial value of the Label property.</param>
 public static Node CreateNode(global::System.Int64 id, global::System.String label)
 {
     Node node = new Node();
     node.Id = id;
     node.Label = label;
     return node;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Nodes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNodes(Node node)
 {
     base.AddObject("Nodes", node);
 }