Sysnet.EDP.HSE-Commerce.BLL/article.cs

(完整代码) 1KB

using System;
using System.Data;
using System.Collections.Generic;

namespace Sysnet.EDP.HSE_Commerce.BLL
{
    /// <summary>
    /// 资讯模型
    /// </summary>
    public partial class article
    {
        private readonly DAL.article dal = new DAL.article();
        public article()
        { }
        #region  Method
        /// <summary>
        /// 是否存在该记录
        /// </summary>
        public bool Exists(int id)
        {
            return dal.Exists(id);
        }

        /// <summary>
        /// 返回信息标题
        /// </summary>
        public string GetTitle(int id)
        {
            return dal.GetTitle(id);
        }

        /// <summary>
        /// 修改一列数据
        /// </summary>
        public void UpdateField(int id, string strValue)
        {
            dal.UpdateField(id, strValue);
        }

        /// <summary>
        /// 删除一条数据
        /// </summary>
        public bool Delete(int id)
        {
            return dal.Delete(id);
        }
        #endregion  Method
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。