ToMoral.BLL/Sys_role_emp.cs

(开头部分) 3KB

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

using System;
using System.Data;
using System.Collections.Generic;
using tomoral.Common;
using tomoral.Model;
namespace tomoral.BLL
{
	/// <summary>
	/// Sys_role_emp
	/// </summary>
	public partial class Sys_role_emp
	{
		private readonly tomoral.DAL.Sys_role_emp dal=new tomoral.DAL.Sys_role_emp();
		public Sys_role_emp()
		{}
		#region  Method

		/// <summary>
		/// 增加一条数据
		/// </summary>
		public void Add(tomoral.Model.Sys_role_emp model)
		{
			dal.Add(model);
		}

		/// <summary>
		/// 更新一条数据
		/// </summary>
		public bool Update(tomoral.Model.Sys_role_emp model)
		{
			return dal.Update(model);
		}

        /// <summary>
        /// 删除一条数据
        /// </summary>
        public bool Delete(string strWhere)
        {
            //该表无主键信息,请自定义主键/条件字段
            return dal.Delete(strWhere);
        }

		/// <summary>
		/// 得到一个对象实体
		/// </summary>
		public tomoral.Model.Sys_role_emp GetModel()
		{
			//该表无主键信息,请自定义主键/条件字段
			return dal.GetModel();
		}

		/// <summary>
		/// 得到一个对象实体,从缓存中
		/// </summary>
		public tomoral.Model.Sys_role_emp GetModelByCache()
		{
			//该表无主键信息,请自定义主键/条件字段
			string CacheKey = "Sys_role_empModel-" ;
			object objModel = tomoral.Common.DataCache.GetCache(CacheKey);
			if (objModel == null)
后面还有 84 行代码,购买后查看完整代码

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

AI 解读

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

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