📄 departmentmanager.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using ExamDAL.Auto_Generated_Code;
using ExamModel.Auto_Generated_Code;
namespace ExamBLL.Auto_Generated_Code
{
public static class DepartmentManager
{
public static DataSet QueryDepartment()
{
return DepartmentService.GetDepartmentList();
}
//此方法是在添加科目时,分配相关的Department对象
public static Department GetDepartmentById(int id)
{
return DepartmentService.GetDepartmentById(id);
}
//查询所有系别
public static IList<Department> GetAllDepartment()
{
return DepartmentService.GetAllDepartment();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -