useradapt.cs

来自「最好用的站点内容管理系统 全部源代码都有」· CS 代码 · 共 33 行

CS
33
字号
//======================================================
//==     (c)2008 aspxcms inc by NeTCMS v1.0              ==
//==          Forum:bbs.aspxcms.com                   ==
//==         Website:www.aspxcms.com                  ==
//======================================================
using System;
using System.Collections.Generic;
using System.Text;
using NetCMS.DALFactory;
using NetCMS.Model;

namespace NetCMS.Content
{
    public class UserAdapt
    {
        NetCMS.DALFactory.IUserAdapt dal;
        public UserAdapt()
        {
            dal = DataAccess.CreateUserAdapt();
        }

        public bool isExist(string username)
        {
            return dal.isExist(username);
        }

        public string getUserNumByUserName(string username)
        {
            return dal.getUserNumByUserName(username);
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?