?? studentservice.cs
字號(hào):
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Configuration;
using IDAL;
using Models;
/************************************
* 類名:AdminService
* 創(chuàng)建日期:2008-3-23
* 功能描述:提供學(xué)員信息操作
* 作者: 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
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -