departmentmanager.cs

来自「在线考试系统完整版源码(C#&Access) 该考试系统为一同学毕业设计」· CS 代码 · 共 29 行

CS
29
字号
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 + =
减小字号Ctrl + -
显示快捷键?