You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
739 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace AccessStudy.Core
{
public interface IStudentIDal
{
List<Student> GetAll();
/// <summary>
/// 按标识查询学生
/// </summary>
Student Get(int studentId);
/// <summary>
/// 按名称查询学生
/// </summary>
Student Get(string studentName);
/// <summary>
/// 添加学生
/// </summary>
bool Add(Student student);
/// <summary>
/// 更新学生
/// </summary>
bool Update(Student student);
/// <summary>
/// 删除学生
/// </summary>
bool Delete(int studentId);
}
}