BLL/tbFuncBtn.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.Caching;
namespace BLL
{
/// <summary>
/// 业务逻辑类 tbFuncBtn
/// </summary>
public class tbFuncBtn: BLHelper
{
private readonly DAL.tbFuncBtn dal = new DAL.tbFuncBtn();
public tbFuncBtn()
: base("_tbFuncBtn_") { }
/// <summary>
/// 增加一条数据
/// </summary>
public void Add(Model.tbFuncBtn model)
{
dal.Add(model);
}
/// <summary>
/// 更新一条数据
/// </summary>
public void Update(Model.tbFuncBtn model)
{
int count = dal.Update(model);
if (EnableCache && count > 0)
{
RemoveModelCache(model.FB_FuncBtnID);
}
}
/// <summary>
/// 删除一条数据
/// </summary>
public void Delete(string FB_FuncBtnID)
{
int count = dal.Delete(FB_FuncBtnID);
if (EnableCache && count > 0)
{
RemoveModelCache(FB_FuncBtnID.ToString());
}
}
/// <summary>
/// 是否存在该记录
/// </summary>
public bool Exists(string FB_FuncBtnID)
{
bool bln = dal.Exists(FB_FuncBtnID);
return bln;
}
/// <summary>
后面还有 44 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。