/// <summary> Adds a new folder as a child under this folder </summary> /// <param name="Child_Folder_Name"> Name of the new child folder </param> /// <param name="Child_Folder_ID"> Primary key for child folder </param> /// <returns> Child folder object </returns> public User_Folder Add_Child_Folder(string Child_Folder_Name, int Child_Folder_ID) { User_Folder returnValue = new User_Folder(Child_Folder_Name, Child_Folder_ID); Add_Child_Folder(returnValue); return(returnValue); }
/// <summary> Adds a new folder as a child under this folder </summary> /// <param name="Child_Folder"> Completely built child folder object </param> public void Add_Child_Folder(User_Folder Child_Folder) { if (Children == null) { Children = new List <User_Folder>(); } Children.Add(Child_Folder); }