public class ContentEditorBL
{
# region
Fields
string _title = string.Empty;
string _desc;
int _listId;
int _ContenteditorID;
# endregion
# region
Properties
public int ID
{
get { return _listId;
}
set
{ _listId = value; }
}
public int
ContenteditorID
{
get { return
_ContenteditorID; }
set { _ContenteditorID = value;
}
}
public string Desc
{
get { return _desc; }
set { _desc = value;
}
}
public string Title
{
get
{
return _title;
}
set
{
_title = value;
}
}
# endregion
# region
Constructor
public ContentEditorBL()
{
}
public ContentEditorBL(int
listId)
{
this.ID = listId;
}
public ContentEditorBL(int
contenteditorid, string desc)
{
this.ID = contenteditorid;
this.Desc = desc;
}
# endregion
# region
Methods
public bool update()
{
return ContentEditorDL.update(this);
}
public bool
updateCE()
public System.Data.DataTable
GetSingleRowListItem()
{
return ContentEditorDL.GetSingleRowListItem(this);
}
public void
GetAllListItem()
{
ContentEditorDL.GetAllListItem(this);
}
# endregion
}
No comments:
Post a Comment