public static ForumThreadNodeInfo Load(int NodeId) { ForumThreadNodeInfo retVal = null; using (IDataReader reader = DBForum.GetForumThreadNode(Security.CurrentUser.TimeZoneId, NodeId)) { if (reader.Read()) { retVal = new ForumThreadNodeInfo(reader); } } return(retVal); }
/// <summary> /// Deletes the forum thread node. /// </summary> /// <param name="info">The info.</param> public void DeleteForumThreadNode(ForumThreadNodeInfo info) { DeleteForumThreadNode(info.Id); }
/// <summary> /// Sets the thread node text. /// </summary> /// <param name="info">The info.</param> /// <param name="Text">The text.</param> /// <returns></returns> public ForumThreadNodeInfo SetThreadNodeText(ForumThreadNodeInfo info, string Text) { return(SetThreadNodeText(info.Id, Text)); }
public static ForumThreadNodeInfo Load(int NodeId) { ForumThreadNodeInfo retVal = null; using(IDataReader reader = DBForum.GetForumThreadNode(Security.CurrentUser.TimeZoneId,NodeId) ) { if(reader.Read()) { retVal = new ForumThreadNodeInfo(reader); } } return retVal; }
/// <summary> /// Sets the thread node text. /// </summary> /// <param name="info">The info.</param> /// <param name="Text">The text.</param> /// <returns></returns> public ForumThreadNodeInfo SetThreadNodeText(ForumThreadNodeInfo info, string Text) { return SetThreadNodeText(info.Id, Text); }