?? rolemanager.cs
字號(hào):
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();
}
//通過(guò)ID獲得角色對(duì)象
public static Role GetRoleById(int id)
{
return RoleServices.GetRoleById(id);
}
//返回所有角色
public static IList<Role> GetAllRole()
{
return RoleServices.GetAllRole();
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -