⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 studentservice.cs

📁 开发框架
💻 CS
字号:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Configuration;
using IDAL;
using Models;
/************************************
 * 类名:AdminService
 * 创建日期:2008-3-23
 * 功能描述:提供学员信息操作
 * 作者: Power By JFStudio.net
 * *********************************/
namespace DAL.Access
{
    public class StudentService : IStudentService
    {
        #region Private Members
        private readonly string connString = ConfigurationManager.ConnectionStrings["MySchoolConnectionString"].ToString();
        private readonly string dboOwner = ConfigurationManager.ConnectionStrings["DataBaseOwner"].ToString();
        #endregion

        #region Public Methods
        public  IList<Student> GetAllStudents()
        {
            IList<Student> studentInfoList = new List<Student>();
            return studentInfoList;
        }
        public  int AddSutdent(Student objStudent)
        {
            return 1;
        }
        public  List<Student> GetStudentLoginPwdByLoginID(string loginID)
        {
            List<Student> objlist = new List<Student>();
            return objlist;
        }
        public  void ModifyStudent(Student objStudent)
        {
        }
        public  void DeleteStudent(string loginID)
        {
            throw new Exception("The method or operation is not implemented.");
        }
        public  int GetStudentIDByLoginID(string loginID)
        {
            return 0;
        }
        public  Student GetStudentInfoByLoginID(string loginID)
        {
            Student objStudent = new Student();
            return objStudent;
        }
        #endregion
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -