using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace TDL.BST.DAL
{
public class BaseForumProvider
{
public BaseForumProvider() { }
public BaseForumProvider(string addedby,
string addedbyip,
string body,
string forumsname,
string title)
{
AddedBy = addedby;
AddedByIP = addedbyip;
Body = body;
Forumsname = forumsname;
Title = title;
}
public BaseForumProvider(int closed,
int postid,
string title)
{
PostID = postid;
Closed = closed;
Title = title;
}
public BaseForumProvider(int closed,
int postid)
{
PostID = postid;
Closed = closed;
}
public BaseForumProvider(string body,
int postid)
{
PostID = postid;
Body = body;
}
public BaseForumProvider(int postid)
{
PostID = postid;
}
public BaseForumProvider(string addedby,
string addedbyip,
string body,
int postid)
{
AddedBy = addedby;
AddedByIP = addedbyip;
Body = body;
PostID = postid;
}
private string _AddedBy;
public string AddedBy
{
get { return _AddedBy; }
set { _AddedBy = value; }
}
private string _AddedByIP;
public string AddedByIP
{
get { return _AddedByIP; }
set { _AddedByIP = value; }
}
private string _Body;
public string Body
{
get { return _Body; }
set { _Body = value; }
}
private string _Forumsname;
public string Forumsname
{
get { return _Forumsname; }
set { _Forumsname = value; }
}
private string _Title;
public string Title
{
get { return _Title; }
set { _Title = value; }
}
private int _Closed;
public int Closed
{
get { return _Closed; }
set { _Closed = value; }
}
private int _PostID;
public int PostID
{
get { return _PostID; }
set { _PostID = value; }
}
private int _ForumID;
public int ForumID
{
get { return _ForumID; }
set { _ForumID = value; }
}
}
}
|