Student/BLL/Student_Notice.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using Student.Model;
using Student.DAL;
namespace Student
{
/// <summary>
/// 公告状态[管理员的无需审核.教师发布的公告必须经过审核]
/// </summary>
public enum NoticeStatus
{
/// <summary>
///新公告(尚未审核)
/// </summary>
N = 0,
/// <summary>
/// 审核不通过
/// </summary>
F = 1,
/// <summary>
/// 审核通过
/// </summary>
T = 2
}
/// <summary>
/// 公告信息表
/// BLL逻辑层 Student_Notice
/// 主要完成对DAL层的调用
/// 2013-03-05 16:00:00
/// </summary>
public class NoticeBLL
{
/// <summary>
/// 全局变量
/// </summary>
private static NoticeDAL DAL = NoticeDAL.GetInstance();
/// <summary>
/// 增加一条记录
/// </summary>
/// <param name="model">类实体</param>
/// <returns></returns>
public static int AddNotice(Model.Notice model)
{
return DAL.AddNotice(model);
}
/// <summary>
/// 更新一条数据
/// </summary>
/// <param name="model">类实体</param>
/// <returns></returns>
后面还有 111 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。