C# Class Galileo.Database.DatabaseRepository

Afficher le fichier Open project: scbrady/Galileo Class Usage Examples

Méthodes publiques

Méthode Description
CreateComment ( string commenter_id, string comment, bool hidden ) : int
DatabaseRepository ( ) : System
DeleteAllMembers ( int projectIds ) : void
DeleteComment ( int comment_id ) : void
GetAllUsers ( ) : List
GetComment ( int comment_id ) : Comment
GetComments ( string userId ) : List
GetCourses ( string userId ) : List
GetEntriesForCourse ( int courseId ) : List
GetLeaderProjects ( string leaderId ) : List
GetMinions ( string userId, bool isTeacher ) : List
GetProjects ( int course_id ) : List
GetUser ( string userId ) : User
GetUserEntries ( string userId ) : List
GetUsersInCourse ( int course_id ) : List
GetUsersInProject ( int projectId ) : List
GetUsersInTeam ( int teamId ) : List
GetUsersWithTeams ( int courseId ) : List
GetUsersWithoutTeams ( int courseId ) : List
InsertProjectManager ( string userId, int projectIds ) : void
InsertTeamMembers ( List teams ) : void
LinkComment ( int commentId, string recipients ) : void

Method Details

CreateComment() public méthode

public CreateComment ( string commenter_id, string comment, bool hidden ) : int
commenter_id string
comment string
hidden bool
Résultat int

DatabaseRepository() public méthode

public DatabaseRepository ( ) : System
Résultat System

DeleteAllMembers() public méthode

public DeleteAllMembers ( int projectIds ) : void
projectIds int
Résultat void

DeleteComment() public méthode

public DeleteComment ( int comment_id ) : void
comment_id int
Résultat void

GetAllUsers() public méthode

public GetAllUsers ( ) : List
Résultat List

GetComment() public méthode

public GetComment ( int comment_id ) : Comment
comment_id int
Résultat Galileo.Models.Comment

GetComments() public méthode

public GetComments ( string userId ) : List
userId string
Résultat List

GetCourses() public méthode

public GetCourses ( string userId ) : List
userId string
Résultat List

GetEntriesForCourse() public méthode

public GetEntriesForCourse ( int courseId ) : List
courseId int
Résultat List

GetLeaderProjects() public méthode

public GetLeaderProjects ( string leaderId ) : List
leaderId string
Résultat List

GetMinions() public méthode

public GetMinions ( string userId, bool isTeacher ) : List
userId string
isTeacher bool
Résultat List

GetProjects() public méthode

public GetProjects ( int course_id ) : List
course_id int
Résultat List

GetUser() public méthode

public GetUser ( string userId ) : User
userId string
Résultat Galileo.Models.User

GetUserEntries() public méthode

public GetUserEntries ( string userId ) : List
userId string
Résultat List

GetUsersInCourse() public méthode

public GetUsersInCourse ( int course_id ) : List
course_id int
Résultat List

GetUsersInProject() public méthode

public GetUsersInProject ( int projectId ) : List
projectId int
Résultat List

GetUsersInTeam() public méthode

public GetUsersInTeam ( int teamId ) : List
teamId int
Résultat List

GetUsersWithTeams() public méthode

public GetUsersWithTeams ( int courseId ) : List
courseId int
Résultat List

GetUsersWithoutTeams() public méthode

public GetUsersWithoutTeams ( int courseId ) : List
courseId int
Résultat List

InsertProjectManager() public méthode

public InsertProjectManager ( string userId, int projectIds ) : void
userId string
projectIds int
Résultat void

InsertTeamMembers() public méthode

public InsertTeamMembers ( List teams ) : void
teams List
Résultat void

LinkComment() public méthode

public LinkComment ( int commentId, string recipients ) : void
commentId int
recipients string
Résultat void