/// <summary> /// Deprecated Method for adding a new object to the TreeNodes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTreeNodes(TreeNode treeNode) { base.AddObject("TreeNodes", treeNode); }
/// <summary> /// Create a new TreeNode object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="contentLibrary_Id">Initial value of the ContentLibrary_Id property.</param> public static TreeNode CreateTreeNode(global::System.Int32 id, global::System.String name, global::System.Int32 contentLibrary_Id) { TreeNode treeNode = new TreeNode(); treeNode.Id = id; treeNode.Name = name; treeNode.ContentLibrary_Id = contentLibrary_Id; return treeNode; }