예제 #1
0
        /// <summary>
        /// Gets the forum thread nodes.
        /// </summary>
        /// <returns></returns>
        public ForumThreadNodeInfo[] GetForumThreadNodes()
        {
            ArrayList list = new ArrayList();

            using (IDataReader reader = DBForum.GetForumThreadNodesByContainerKey(this.CurrentUserTimeZoneId, _ownerContainer.Key))
            {
                while (reader.Read())
                {
                    list.Add(new ForumThreadNodeInfo(reader));
                }
            }
            return((ForumThreadNodeInfo[])list.ToArray(typeof(ForumThreadNodeInfo)));
        }