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