FindEmployeeCountByDepartment (string employeeDepartment = "" ) 根据部门ID查找该部门的职工数
FindEmployeeByDepartment (
string employeeDepartment = "") 根据部门部门ID查找该部门的职工信息
CreateEmployee (
string employeeId = "",
string employeeCode = "",
string employeeName = "",
string employeeRealName = "",
string employeeDepartment = "") 根据职工ID、职工号、职工用户名、职工姓名、所属部门创建职工信息
UpdateEmployee (
string employeeId = "",
string employeeCode = "",
string employeeName = "",
string employeeRealName = "",
string employeeDepartment = "" ) 根据职工ID、职工号、职工用户名、职工姓名、所属部门修改职工信息
DeleteEmployee (
string employeeId = "" ) 根据职工ID删除职工信息
FindEmployees (
string employeeCode = "",
string employeeName = "",
string employeeDepartment = "",
int? maximumRows = null,
int? startRowIndex = null ) 根据职工号、职工用户名、所属部门查找符合条件的职工信息(可分页)
FindEmployeesCount (
string employeeCode = "",
string employeeName = "",
string employeeDepartment = "" ) 根据职工号、职工用户名、所属部门查找符合条件的职工信息条数
FindEmployeeById (
string employeeId = "") 根据职工ID查找职工信息
FindEmployeePassword (
string employeeId = "" ) 根据职工ID查找该职工的密码
ChangeEmployeePassword (
string employeeId = "",
string employeePassword = "" ) 根据职工ID、职工密码更改职工密码
该类对所有读者用户信息进行操作的数据访问层方法如表5.4所示。
表 5.4 BYSJ.DataAccess.ReaderProvider
方法名(变量) 作用
ExistsReaderById (
string readerId = "" ) 根据读者ID查找是否存在该读者
ExistsReaderByCode (
string readerId = "",
string readerCode = "" ) 根据读者ID、借阅号查询是否存在该读者
CreateReader (
string readerId = "",
string readerCode = "",
string readerName = "",
string readerRealName = "",
string readerGender = "",
string readerAge = "",
string readerTelephone = "",
string readerEmail = "",
int? readerStatus = null,
string readerReaderRoleId = "" ) 根据读者ID、借阅号、用户名、姓名、性别、年龄、联系电话、电子邮箱、读者状态、借阅类型创建读者信息
UpdateReader (
string readerId = "",
string readerCode = "",
string readerName = "",
string readerRealName = "",
string readerGender = "",
string readerAge = "",
string readerTelephone = "",
string readerEmail = "",
string readerReaderRoleId = "" ) 根据读者ID、借阅号、用户名、姓名、性别、年龄、联系电话、电子邮箱、借阅类型更新读者信息
DeleteReader (string readerId = "" ) 根据读者ID删除读者信息
FindReaders (
string readerCode = "",
string readerName = "",
int? readerGender = null,
int? readerStatus = null, 基于ASP.NET的图书管理系统+流程图+ER图(22):http://www.youerw.com/jisuanji/lunwen_580.html