DAL/AchieveInterfaceDAL/INewsDAL.cs
(完整代码) 1KBusing AchieveEntity;
using System.Data;
namespace AchieveInterfaceDAL
{
public interface INewsDAL
{
#region 成员方法
/// <summary>
/// 增加一条数据
/// </summary>
int Add(NewsEntity model);
/// <summary>
/// 更新一条数据
/// </summary>
int Update(NewsEntity model);
/// <summary>
/// 删除数据
/// </summary>
bool Delete(int id);
bool DeleteList(string idlist);
/// <summary>
/// 得到一个对象实体
/// </summary>
NewsEntity GetModel(int id);
/// <summary>
/// 获得数据列表
/// </summary>
DataTable GetList(string strWhere);
/// <summary>
/// 获得前几行数据
/// </summary>
DataTable GetList(int Top, string strWhere, string filedOrder);
/// <summary>
/// 根据分页获得数据列表
/// </summary>
//DataSet GetList(int PageSize,int PageIndex,string strWhere);
#endregion 成员方法
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。