C# Class MLAA.Web.EnrolmentManager

Afficher le fichier Open project: Readify/MakingLegacyApplicationsAwesome

Méthodes publiques

Méthode 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 méthode

public static GetStudentEnrolments ( int id ) : MLAA.Data.Linq2Sql.Subject[]
id int
Résultat MLAA.Data.Linq2Sql.Subject[]

IsEnrolled() public static méthode

public static IsEnrolled ( int studentId, int subjectId ) : bool
studentId int
subjectId int
Résultat bool

SearchStudents() public static méthode

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.
Résultat MLAA.Data.Linq2Sql.Student[]