C# Class MLAA.Web.EnrolmentManager

Show file Open project: Readify/MakingLegacyApplicationsAwesome

Public Methods

Method Description
GetStudentEnrolments ( int id ) : MLAA.Data.Linq2Sql.Subject[]
IsEnrolled ( int studentId, int subjectId ) : bool
SearchStudents ( string name ) : MLAA.Data.Linq2Sql.Student[]

Searches for a student by name.

Method Details

GetStudentEnrolments() public static method

public static GetStudentEnrolments ( int id ) : MLAA.Data.Linq2Sql.Subject[]
id int
return MLAA.Data.Linq2Sql.Subject[]

IsEnrolled() public static method

public static IsEnrolled ( int studentId, int subjectId ) : bool
studentId int
subjectId int
return bool

SearchStudents() public static method

Searches for a student by name.
public static SearchStudents ( string name ) : MLAA.Data.Linq2Sql.Student[]
name string Any Part of the first name or last name of the student.
return MLAA.Data.Linq2Sql.Student[]