DTcms.BLL/DTcms.BLL/article_category.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using DTcms.DAL;
using DTcms.Model;
using System;
using System.Data;
namespace DTcms.BLL
{
public class article_category
{
private readonly DTcms.Model.siteconfig siteConfig = new siteconfig().loadConfig();
private readonly DTcms.DAL.article_category dal;
public article_category()
{
this.dal = new DTcms.DAL.article_category(this.siteConfig.sysdatabaseprefix);
}
public bool Exists(int id)
{
return this.dal.Exists(id);
}
public string GetTitle(int id)
{
return this.dal.GetTitle(id);
}
public int Add(DTcms.Model.article_category model)
{
return this.dal.Add(model);
}
public void UpdateField(int id, string strValue)
{
this.dal.UpdateField(id, strValue);
}
public bool Update(DTcms.Model.article_category model)
{
return this.dal.Update(model);
}
public void Delete(int id)
{
this.dal.Delete(id);
}
public DTcms.Model.article_category GetModel(int id)
{
return this.dal.GetModel(id);
}
public DataTable GetChildList(int parent_id, int channel_id)
{
return this.dal.GetChildList(parent_id, channel_id);
}
public DataTable GetChildList(int parent_id, string channel_name)
{
后面还有 21 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。