📄 rolemanager.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using ExamModel.Auto_Generated_Code;
using ExamDAL.Auto_Generated_Code;
namespace ExamBLL.Auto_Generated_Code
{
public class RoleManager
{
public static DataSet QueryRole()
{
return RoleServices.GetRoleList();
}
//通过ID获得角色对象
public static Role GetRoleById(int id)
{
return RoleServices.GetRoleById(id);
}
//返回所有角色
public static IList<Role> GetAllRole()
{
return RoleServices.GetAllRole();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -