Backup/BLL/NoticesManage.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using MODEL;
using System.Data;
namespace BLL
{
public class NoticesManage
{
private NoticesDAO ndao = null;
public NoticesManage()
{
ndao = new NoticesDAO();
}
#region 新增公告
/// <summary>
/// 新增公告
/// </summary>
/// <param name="n">公告信息实体类</param>
/// <returns></returns>
public bool Insert(notices n)
{
return ndao.Insert(n);
}
#endregion
#region 更新公告信息
/// <summary>
/// 更新公告信息
/// </summary>
/// <param name="n">公告信息实体类</param>
/// <returns></returns>
public void Update(notices n)
{
ndao.Update(n);
}
#endregion
#region 查看全部公告
/// <summary>
/// 查看全部公告
/// </summary>
/// <returns></returns>
public DataTable SelectAll()
{
return ndao.SelectAll();
}
#endregion
#region 查看最近5条公告
/// <summary>
/// 查看最近5条公告
/// </summary>
/// <returns></returns>
public DataTable SelecTop()
{
return ndao.SelecTop();
}
#endregion
#region 按公告名查看公告
后面还有 33 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
