DAL/AchieveInterfaceDAL/INewsTypeDAL.cs

(完整代码) 1KB

using AchieveEntity;
using System.Data;

namespace AchieveInterfaceDAL
{
    public interface INewsTypeDAL
    {
        #region 成员方法

        bool Exists(string name);

        /// <summary>
        /// 增加一条数据
        /// </summary>
        int Add(NewsTypeEntity model);

        /// <summary>
        /// 更新一条数据
        /// </summary>
        int Update(NewsTypeEntity model);

        /// <summary>
        /// 删除数据
        /// </summary>
        bool Delete(int id);

        bool DeleteList(string idlist);

        /// <summary>
        /// 得到一个对象实体
        /// </summary>
        NewsTypeEntity GetModel(int id);

        /// <summary>
        /// 获得数据列表
        /// </summary>
        DataTable GetList(string strWhere);

        /// <summary>
        /// 获得前几行数据
        /// </summary>
        DataTable GetList(int Top, string strWhere, string filedOrder);

        #endregion 成员方法
    }
}

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

AI 解读 AI

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

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