DTcms.BLL/DTcms.BLL/user_addr_book.cs

(开头部分) 1KB

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

using DTcms.DAL;
using DTcms.Model;
using System;
using System.Data;

namespace DTcms.BLL
{
	public class user_addr_book
	{
		private readonly DTcms.Model.siteconfig siteConfig = new siteconfig().loadConfig();

		private readonly DTcms.DAL.user_addr_book dal;

		public user_addr_book()
		{
			this.dal = new DTcms.DAL.user_addr_book(this.siteConfig.sysdatabaseprefix);
		}

		public bool Exists(int id)
		{
			return this.dal.Exists(id);
		}

		public bool Exists(int id, string user_name)
		{
			return this.dal.Exists(id, user_name);
		}

		public int Add(DTcms.Model.user_addr_book model)
		{
			return this.dal.Add(model);
		}

		public bool Update(DTcms.Model.user_addr_book model)
		{
			return this.dal.Update(model);
		}

		public bool Delete(int id)
		{
			return this.dal.Delete(id);
		}

		public bool Delete(int id, string user_name)
		{
			return this.dal.Delete(id, user_name);
		}

		public DTcms.Model.user_addr_book GetModel(int id)
		{
			return this.dal.GetModel(id);
		}

		public DataSet GetList(string strWhere)
		{
			return this.dal.GetList(strWhere);
		}

		public DataSet GetList(int Top, string strWhere, string filedOrder)
		{
后面还有 19 行代码,购买后查看完整代码

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

AI 解读 AI

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

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