请帮看一段程序,是实现什么功能,谢谢!
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;
using System.Collections.Generic;
using MB.RobbieSet.DAL;
namespace MB.RobbieSet.BLL.Store
{
public class Department : BaseStore
{
private string _title = " ";
public string Title
{
get { return _title; }
set { _title = value; }
}
private int _importance = 0;
public int Importance
{
get { return _importance; }
private set { _importance = value; }
}
private string _description = " ";
public string Description
{
get { return _description; }
set { _description = value; }
}
private string _imageUrl = " ";
public string ImageUrl
{
get { return _imageUrl; }
set { _imageUrl = value; }
}
private int _preCategoryID = 0;
public int PreCategoryID
{
get { return _preCategoryID; }
set { _preCategoryID = value; }
}
private List <Product> _allProducts = null;
public List <Product> AllP