Пример #1
0
        /// <summary>
        /// Gets the forum threads.
        /// </summary>
        /// <returns></returns>
        public ForumThreadInfo[] GetForumThreads()
        {
            ArrayList list = new ArrayList();

            using (IDataReader reader = DBForum.GetForumThreadsByContainerKey(_ownerContainer.Key))
            {
                while (reader.Read())
                {
                    list.Add(new ForumThreadInfo(reader));
                }
            }
            return((ForumThreadInfo[])list.ToArray(typeof(ForumThreadInfo)));
        }