HN.BLL/Module.cs

(开头部分) 9KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using HN.Model;
using HN.Utility;

namespace HN.BLL
{
    /// <summary>
    /// 模块表
    /// Author 2015-09-22
    /// </summary>
    public class Module
    {
        private readonly DAL.Module dal = new DAL.Module();
        public Module()
        { }

        #region 是否存在该记录 Exists(object tran,int ModID)
        /// <summary>
        /// 是否存在该记录
        /// Author 2015-09-22
        /// </summary>
        public bool Exists(object tran, int ModID)
        {
            return dal.Exists(tran, ModID);
        }
        #endregion

        #region 增加一条数据 Add(object tran,ModuleInfo model)
        /// <summary>
        /// 增加一条数据
        /// Author 2015-09-22
        /// </summary>
        public bool Add(object tran, ModuleInfo model)
        {
            return dal.Add(tran, model);
        }
        #endregion

        #region 更新一条数据 Update(object tran,ModuleInfo model)
        /// <summary>
        /// 更新一条数据
        /// Author 2015-09-22
        /// </summary>
        public bool Update(object tran, ModuleInfo model)
        {
            return dal.Update(tran, model);
        }
        #endregion

        #region  删除一条数据 Delete(object tran,int ModID)
        /// <summary>
        /// 删除一条数据
        /// Author 2015-09-22
        /// </summary>
        public bool Delete(object tran, int ModID)
        {
            return dal.Delete(tran, ModID);
后面还有 232 行代码,购买后查看完整代码

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

AI 解读

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

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